comparison libpurple/protocols/oscar/family_feedbag.c @ 32123:17f7badf147e

oscar: Avoid a few printf("%s", NULL)s Thanks to clh and dustin. Fixes #14295, #14297.
author Paul Aurich <paul@darkrain42.org>
date Sat, 18 Jun 2011 02:01:30 +0000
parents 0cf50b0f7af4
children 142429bcb4c8
comparison
equal deleted inserted replaced
32122:84152881ad5d 32123:17f7badf147e
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 *