From c561ba35e6aa382124147e88f45683c0021db02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=C3=A6r=C3=B8y?= Date: Sun, 8 Feb 2009 17:22:42 +0000 Subject: Code Cleanup: Use g_string_append_printf() instead of g_string_sprintfa() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5003 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-channels.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/irc/core/irc-channels.c') diff --git a/src/irc/core/irc-channels.c b/src/irc/core/irc-channels.c index 99775d30..dd6e29ce 100644 --- a/src/irc/core/irc-channels.c +++ b/src/irc/core/irc-channels.c @@ -106,7 +106,7 @@ static void irc_channels_join(IRC_SERVER_REC *server, const char *data, if (chanrec == NULL) { schannel = channel_setup_find(channel, server->connrec->chatnet); - g_string_sprintfa(outchans, "%s,", channel); + g_string_append_printf(outchans, "%s,", channel); if (*tmpkey != NULL && **tmpkey != '\0') key = *tmpkey; else if (schannel != NULL && schannel->password != NULL) { @@ -115,7 +115,7 @@ static void irc_channels_join(IRC_SERVER_REC *server, const char *data, key = schannel->password; } else key = NULL; - g_string_sprintfa(outkeys, "%s,", get_join_key(key)); + g_string_append_printf(outkeys, "%s,", get_join_key(key)); channame = channel + (channel[0] == '!' && channel[1] == '!'); chanrec = irc_channel_create(server, channame, NULL, -- cgit v1.2.3