diff libgaim/protocols/qq/qq_proxy.c @ 15196:92ebda7a7afc

[gaim-migrate @ 17985] Jonathan Brossard (endrazine) found some more places where we were passing normal strings to printf as format strings, which could cause problems when printing text containing the % character. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 13 Dec 2006 11:10:32 +0000
parents c039c920e11c
children b3f5d5854017
line wrap: on
line diff
--- a/libgaim/protocols/qq/qq_proxy.c	Wed Dec 13 10:46:44 2006 +0000
+++ b/libgaim/protocols/qq/qq_proxy.c	Wed Dec 13 11:10:32 2006 +0000
@@ -65,7 +65,7 @@
 		strcat(buf1, buf2);
 	}
 	strcat(buf1, "\n");
-	gaim_debug(GAIM_DEBUG_INFO, desc, buf1);
+	gaim_debug(GAIM_DEBUG_INFO, desc, "%s", buf1);
 }
 
 /* QQ 2003iii uses double MD5 for the pwkey to get the session key */