changeset 22158:327541a4c302

a
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sun, 20 Jan 2008 05:52:48 +0000
parents 19106c080a0e
children e5883c888fd2
files libpurple/protocols/myspace/myspace.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Sun Jan 20 05:02:15 2008 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Sun Jan 20 05:52:48 2008 +0000
@@ -2859,7 +2859,10 @@
 	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;