comparison libpurple/protocols/oscar/family_feedbag.c @ 31690:3ff91e34691d

applied changes from 00c6d11a264a02d1aaa23feb52eab5ca46e655c8 through d4ad4dcf4f618793c9201ace11269bac63645d69 Original commit message: oscar: Avoid a few printf("%s", NULL)s Thanks to clh and dustin. Fixes #14295, #14297.
author Mark Doliner <mark@kingant.net>
date Mon, 20 Jun 2011 05:32:19 +0000
parents 0cf50b0f7af4
children 142429bcb4c8 82024b6ea465
comparison
equal deleted inserted replaced
31689:855a539dcec7 31690:3ff91e34691d
98 static void 98 static void
99 aim_ssi_item_debug_append(GString *str, char *prefix, struct aim_ssi_item *item) 99 aim_ssi_item_debug_append(GString *str, char *prefix, struct aim_ssi_item *item)
100 { 100 {
101 g_string_append_printf(str, 101 g_string_append_printf(str,
102 "%s gid=0x%04hx, bid=0x%04hx, list_type=0x%04hx [%s], name=%s.\n", 102 "%s gid=0x%04hx, bid=0x%04hx, list_type=0x%04hx [%s], name=%s.\n",
103 prefix, item->gid, item->bid, item->type, aim_ssi_type_to_string(item->type), item->name); 103 prefix, item->gid, item->bid, item->type, aim_ssi_type_to_string(item->type),
104 item->name ? item->name : "(null)");
104 } 105 }
105 106
106 /** 107 /**
107 * Locally rebuild the 0x00c8 TLV in the additional data of the given group. 108 * Locally rebuild the 0x00c8 TLV in the additional data of the given group.
108 * 109 *