pidgin: d54eb674: slpcall is never NULL here.

qulogic at pidgin.im qulogic at pidgin.im
Fri Nov 5 23:51:00 EDT 2010


----------------------------------------------------------------------
Revision: d54eb6748669c3887900b9d4c71e351e7281e41e
Parent:   59c085cd431ffd329ddf5fcaf3f522ce268305d3
Author:   qulogic at pidgin.im
Date:     11/05/10 22:44:06
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d54eb6748669c3887900b9d4c71e351e7281e41e

Changelog: 

slpcall is never NULL here.

Changes against parent 59c085cd431ffd329ddf5fcaf3f522ce268305d3

  patched  libpurple/protocols/msn/slpcall.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slpcall.c	b60a5b2653d2e9c275871227e8756c45da0c8024
+++ libpurple/protocols/msn/slpcall.c	85b91da8dfc47ecf064fba39336efaa1686afc54
@@ -567,8 +567,7 @@ got_sessionreq(MsnSlpCall *slpcall, cons
 
 	} 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 @@ got_sessionreq(MsnSlpCall *slpcall, cons
 
 	} 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(


More information about the Commits mailing list