Mercurial > pidgin
comparison libpurple/protocols/msn/slpcall.c @ 30910:b09ec659a9f5
slpcall is never NULL here.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 06 Nov 2010 02:44:06 +0000 |
parents | 555862567b38 |
children | 2de522fa534a |
comparison
equal
deleted
inserted
replaced
30909:4bc5b483699e | 30910:b09ec659a9f5 |
---|---|
565 | 565 |
566 accepted = TRUE; | 566 accepted = TRUE; |
567 | 567 |
568 } else if (!strcmp(euf_guid, MSN_CAM_REQUEST_GUID)) { | 568 } else if (!strcmp(euf_guid, MSN_CAM_REQUEST_GUID)) { |
569 purple_debug_info("msn", "Cam request.\n"); | 569 purple_debug_info("msn", "Cam request.\n"); |
570 if (slpcall && slpcall->slplink && | 570 if (slpcall->slplink && slpcall->slplink->session) { |
571 slpcall->slplink->session) { | |
572 PurpleConversation *conv; | 571 PurpleConversation *conv; |
573 gchar *from = slpcall->slplink->remote_user; | 572 gchar *from = slpcall->slplink->remote_user; |
574 conv = purple_find_conversation_with_account( | 573 conv = purple_find_conversation_with_account( |
575 PURPLE_CONV_TYPE_IM, from, | 574 PURPLE_CONV_TYPE_IM, from, |
576 slpcall->slplink->session->account); | 575 slpcall->slplink->session->account); |
588 } | 587 } |
589 } | 588 } |
590 | 589 |
591 } else if (!strcmp(euf_guid, MSN_CAM_GUID)) { | 590 } else if (!strcmp(euf_guid, MSN_CAM_GUID)) { |
592 purple_debug_info("msn", "Cam invite.\n"); | 591 purple_debug_info("msn", "Cam invite.\n"); |
593 if (slpcall && slpcall->slplink && | 592 if (slpcall->slplink && slpcall->slplink->session) { |
594 slpcall->slplink->session) { | |
595 PurpleConversation *conv; | 593 PurpleConversation *conv; |
596 gchar *from = slpcall->slplink->remote_user; | 594 gchar *from = slpcall->slplink->remote_user; |
597 conv = purple_find_conversation_with_account( | 595 conv = purple_find_conversation_with_account( |
598 PURPLE_CONV_TYPE_IM, from, | 596 PURPLE_CONV_TYPE_IM, from, |
599 slpcall->slplink->session->account); | 597 slpcall->slplink->session->account); |