From 2fffcf5a77167e03e267664e559267c8fa1d972d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=C3=A6r=C3=B8y?= Date: Sun, 8 Feb 2009 17:57:19 +0000 Subject: 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 --- src/irc/dcc/dcc-get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc/dcc') diff --git a/src/irc/dcc/dcc-get.c b/src/irc/dcc/dcc-get.c index 87d4cfb6..bdcd2424 100644 --- a/src/irc/dcc/dcc-get.c +++ b/src/irc/dcc/dcc-get.c @@ -73,7 +73,7 @@ static char *dcc_get_rename_file(const char *fname) newname = g_string_new(NULL); num = 1; do { - g_string_sprintf(newname, "%s.%d", fname, num); + g_string_printf(newname, "%s.%d", fname, num); num++; } while (stat(newname->str, &statbuf) == 0); -- cgit v1.2.3