# HG changeset patch # User Hu Yong # Date 1225678848 0 # Node ID 95735ee46dd9451b6f3dbc43b4853ca5f99a0b65 # Parent 604027798a46f9974b49033197ce9102390e7538 Fixed bug: purple_debug_info may contain NULL string diff -r 604027798a46 -r 95735ee46dd9 libpurple/protocols/qq/group_internal.c --- 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,