Mon, 03 Nov 2008 02:20:48 +0000
Fixed bug: purple_debug_info may contain NULL string
| libpurple/protocols/qq/group_internal.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/qq/group_internal.c Fri Oct 31 07:50:33 2008 +0000 +++ b/libpurple/protocols/qq/group_internal.c Mon Nov 03 02:20:48 2008 +0000 @@ -122,7 +122,8 @@ 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,