summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/dcc/dcc-get.c')
-rw-r--r--src/irc/dcc/dcc-get.c2
1 files changed, 1 insertions, 1 deletions
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);