pidgin.openq: 87e6cd75: Fixed bug: purple_debug_info may contain...

ccpaging at pidgin.im ccpaging at pidgin.im
Wed Dec 3 23:21:19 EST 2008


-----------------------------------------------------------------
Revision: 87e6cd75b5918cd022e1e9e1b5d406a104d53f90
Ancestor: addeb86863abf271a72a9dfcdc8605713e7f2f03
Author: ccpaging at pidgin.im
Date: 2008-11-03T02:20:48
Branch: im.pidgin.pidgin.openq
URL: http://d.pidgin.im/viewmtn/revision/info/87e6cd75b5918cd022e1e9e1b5d406a104d53f90

Modified files:
        libpurple/protocols/qq/group_internal.c

ChangeLog: 

Fixed bug: purple_debug_info may contain NULL string

-------------- next part --------------
============================================================
--- libpurple/protocols/qq/group_internal.c	8fa420294d11ae026edf1feb14fe5f74f8989cfe
+++ libpurple/protocols/qq/group_internal.c	36a9a905f7fdfdb9c90c1916f86263c60bdf8ee4
@@ -122,7 +122,8 @@ static PurpleChat *chat_new(PurpleConnec
 	PurpleChat *chat;
 
 	purple_debug_info("QQ", "Add new chat: id %d, ext id %d, title %s\n",
-		rmd->id, rmd->ext_id, rmd->title_utf8);
+		rmd->id, rmd->ext_id,
+		rmd->title_utf8 == NULL ? "(NULL)" : rmd->title_utf8);
 
 	components = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
 	g_hash_table_insert(components,


More information about the Commits mailing list