summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@irssi.org>2009-02-08 17:22:42 +0000
committerahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-02-08 17:22:42 +0000
commitc561ba35e6aa382124147e88f45683c0021db02f (patch)
treea0ec48e7655295c69662a9edd396038951527e92 /src/perl
parent32e01a5a06e35c98c478413fb6c86818dd930ff3 (diff)
downloadirssi-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/perl')
-rw-r--r--src/perl/perl-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/perl-common.c b/src/perl/perl-common.c
index e13c2cf3..de7fb2ad 100644
--- a/src/perl/perl-common.c
+++ b/src/perl/perl-common.c
@@ -236,7 +236,7 @@ char *perl_get_use_list(void)
g_string_append(str, "use Irssi::UI;");
for (tmp = use_protocols; tmp != NULL; tmp = tmp->next)
- g_string_sprintfa(str, "use Irssi::%s;", (char *) tmp->data);
+ g_string_append_printf(str, "use Irssi::%s;", (char *) tmp->data);
ret = str->str;
g_string_free(str, FALSE);