# HG changeset patch # User Daniel Atallah # Date 1119541456 0 # Node ID a659e6bac294df310811427fdfa8a7debd9865a3 # Parent 8d2007d738d5d40d3d53af37aece682ce1fdd070 [gaim-migrate @ 12901] Don't pass NULL to sprintf. committer: Tailor Script diff -r 8d2007d738d5 -r a659e6bac294 src/protocols/irc/msgs.c --- a/src/protocols/irc/msgs.c Thu Jun 23 03:04:52 2005 +0000 +++ b/src/protocols/irc/msgs.c Thu Jun 23 15:44:16 2005 +0000 @@ -363,7 +363,7 @@ names = cur = g_string_free(irc->names, FALSE); irc->names = NULL; if (irc->nameconv) { - msg = g_strdup_printf(_("Users on %s: %s"), args[1], names); + msg = g_strdup_printf(_("Users on %s: %s"), args[1], names ? names : ""); if (gaim_conversation_get_type(convo) == GAIM_CONV_CHAT) gaim_conv_chat_write(GAIM_CONV_CHAT(convo), "", msg, GAIM_MESSAGE_SYSTEM|GAIM_MESSAGE_NO_LOG, time(NULL)); else