diff options
author | Alexander Færøy <ahf@irssi.org> | 2009-02-08 17:57:19 +0000 |
---|---|---|
committer | ahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2009-02-08 17:57:19 +0000 |
commit | 2fffcf5a77167e03e267664e559267c8fa1d972d (patch) | |
tree | 716e80f8ef45590b14c002a6baa4799c494311f3 /src/core/servers.c | |
parent | c561ba35e6aa382124147e88f45683c0021db02f (diff) | |
download | irssi-2fffcf5a77167e03e267664e559267c8fa1d972d.zip |
Code Cleanup:
Use g_string_printf() instead of g_string_sprintf() (which is considered deprecated.)
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5004 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/servers.c')
-rw-r--r-- | src/core/servers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/servers.c b/src/core/servers.c index 3e1d83f0..d5844e7b 100644 --- a/src/core/servers.c +++ b/src/core/servers.c @@ -128,7 +128,7 @@ static char *server_create_tag(SERVER_CONNECT_REC *conn) num = 2; while (server_find_tag(str->str) != NULL || server_find_lookup_tag(str->str) != NULL) { - g_string_sprintf(str, "%s%d", tag, num); + g_string_printf(str, "%s%d", tag, num); num++; } g_free(tag); |