changeset 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 4bc5b483699e
children 6d99f7cdc654
files libpurple/protocols/msn/slpcall.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpcall.c	Sat Nov 06 02:35:40 2010 +0000
+++ b/libpurple/protocols/msn/slpcall.c	Sat Nov 06 02:44:06 2010 +0000
@@ -567,8 +567,7 @@
 
 	} else if (!strcmp(euf_guid, MSN_CAM_REQUEST_GUID)) {
 		purple_debug_info("msn", "Cam request.\n");
-		if (slpcall && slpcall->slplink &&
-				slpcall->slplink->session) {
+		if (slpcall->slplink && slpcall->slplink->session) {
 			PurpleConversation *conv;
 			gchar *from = slpcall->slplink->remote_user;
 			conv = purple_find_conversation_with_account(
@@ -590,8 +589,7 @@
 
 	} else if (!strcmp(euf_guid, MSN_CAM_GUID)) {
 		purple_debug_info("msn", "Cam invite.\n");
-		if (slpcall && slpcall->slplink &&
-				slpcall->slplink->session) {
+		if (slpcall->slplink && slpcall->slplink->session) {
 			PurpleConversation *conv;
 			gchar *from = slpcall->slplink->remote_user;
 			conv = purple_find_conversation_with_account(