pidgin: 39bfdcc3: Add two friendly little checks

markdoliner at pidgin.im markdoliner at pidgin.im
Sat Feb 18 18:50:22 EST 2012


----------------------------------------------------------------------
Revision: 39bfdcc3fb628c9f90ac52a14048e9f8f9707f2a
Parent:   5c6e241e6e7b81067380dccbbd1660845b2ef74e
Author:   markdoliner at pidgin.im
Date:     02/18/12 18:46:04
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/39bfdcc3fb628c9f90ac52a14048e9f8f9707f2a

Changelog: 

Add two friendly little checks

Changes against parent 5c6e241e6e7b81067380dccbbd1660845b2ef74e

  patched  libpurple/protocols/oscar/family_icbm.c

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/family_icbm.c	d504940a4f2d85146d0e86cfc5f8443dc5a9eb81
+++ libpurple/protocols/oscar/family_icbm.c	f9be0fa2a0b7599e18e043ea944e4d30e22bf6be
@@ -650,6 +650,9 @@ aim_im_sendch2_odc_requestdirect(OscarDa
 	GSList *outer_tlvlist = NULL, *inner_tlvlist = NULL;
 	ByteStream hdrbs;
 
+	g_return_if_fail(bn != NULL);
+	g_return_if_fail(ip != NULL);
+
 	conn = flap_connection_findbygroup(od, SNAC_FAMILY_ICBM);
 	if (conn == NULL)
 		return;


More information about the Commits mailing list