im.pidgin.pidgin: edd672a79a29dc97a942d9520e7a3b93519af9d4

jeff2 at soc.pidgin.im jeff2 at soc.pidgin.im
Sat Jan 26 23:40:49 EST 2008


-----------------------------------------------------------------
Revision: edd672a79a29dc97a942d9520e7a3b93519af9d4
Ancestor: 2c70b0a3d94cceda2826edc93fac5566775bab35
Author: jeff2 at soc.pidgin.im
Date: 2008-01-20T05:52:48
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/myspace/myspace.c

ChangeLog: 

a

-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/myspace.c	9924e551f852257ad74722cb1b6714b650d507c0
+++ libpurple/protocols/myspace/myspace.c	edc2cc1f9bfecf255b4df9b072d9fc23cc74abda
@@ -2859,7 +2859,10 @@ msim_got_contact_list(MsimSession *sessi
 	msim_msg_dump("msim_got_contact_list: reply=%s", reply);
 
 	body = msim_msg_get_dictionary(reply, "body");
-	g_return_if_fail(body != NULL);
+        if (!body) {
+            /* No friends. Not an error. */
+            return;
+        }
 
 	buddy_count = 0;
 


More information about the Commits mailing list