changeset 4899:347070472ed6

[gaim-migrate @ 5231] don't let %n and %s in a screenname screw things up committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 27 Mar 2003 21:56:51 +0000
parents bd37db7531e4
children 53718dbe8d0d
files src/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/util.c	Thu Mar 27 21:41:21 2003 +0000
+++ b/src/util.c	Thu Mar 27 21:56:51 2003 +0000
@@ -539,7 +539,7 @@
 	buf[i] = '\0';
 
 	tmp = g_utf8_strdown(buf, -1);
-	g_snprintf(buf, sizeof(buf), tmp);
+	g_snprintf(buf, sizeof(buf), "%s", tmp);
 	g_free(tmp);
 
 	return buf;