From: Nathan W. <fac...@us...> - 2003-03-27 21:56:57
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1:/tmp/cvs-serv28122/src Modified Files: util.c Log Message: don't let %n and %s in a screenname screw things up Index: util.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/util.c,v retrieving revision 1.171 retrieving revision 1.172 diff -u -d -r1.171 -r1.172 --- util.c 25 Mar 2003 06:26:24 -0000 1.171 +++ util.c 27 Mar 2003 21:56:51 -0000 1.172 @@ -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; |