diff options
author | Alexander Færøy <ahf@irssi.org> | 2009-02-08 17:22:42 +0000 |
---|---|---|
committer | ahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2009-02-08 17:22:42 +0000 |
commit | c561ba35e6aa382124147e88f45683c0021db02f (patch) | |
tree | a0ec48e7655295c69662a9edd396038951527e92 /src/irc/notifylist | |
parent | 32e01a5a06e35c98c478413fb6c86818dd930ff3 (diff) | |
download | irssi-c561ba35e6aa382124147e88f45683c0021db02f.zip |
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
Diffstat (limited to 'src/irc/notifylist')
-rw-r--r-- | src/irc/notifylist/notify-ison.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/notifylist/notify-ison.c b/src/irc/notifylist/notify-ison.c index bedfc10f..ba09bb57 100644 --- a/src/irc/notifylist/notify-ison.c +++ b/src/irc/notifylist/notify-ison.c @@ -135,7 +135,7 @@ static void notifylist_timeout_server(IRC_SERVER_REC *server) if (cmd->len+len+1 > 510) ison_send(server, cmd); - g_string_sprintfa(cmd, "%s ", nick); + g_string_append_printf(cmd, "%s ", nick); g_free(nick); } @@ -211,7 +211,7 @@ static void whois_list_send(IRC_SERVER_REC *server, GSList *nicks) nick = tmp->data; count++; - g_string_sprintfa(str, "%s,", nick); + g_string_append_printf(str, "%s,", nick); if (count >= server->max_whois_in_cmd) { g_string_truncate(str, str->len-1); |