diff libpurple/proxy.c @ 24453:0320b4a33432

Backport the 'purple_debug_*(msg)' -> 'purple_debug_*("%s", msg);' fixes. applied changes from fef93b50fe2b6c172be07648cbc70b62a42fcfff through 111d22afa901c48464e4da4d37d1cca3381ae162
author Richard Laager <rlaager@wiktel.com>
date Sun, 16 Nov 2008 06:50:19 +0000
parents 1263f302d05e
children f3103f786c86
line wrap: on
line diff
--- a/libpurple/proxy.c	Sun Nov 16 00:10:02 2008 +0000
+++ b/libpurple/proxy.c	Sun Nov 16 06:50:19 2008 +0000
@@ -1342,7 +1342,7 @@
 
 	if ((buf[0] != 0x05) || (buf[1] != 0x00)) {
 		if ((buf[0] == 0x05) && (buf[1] < 0x09)) {
-			purple_debug_error("socks5 proxy", socks5errors[buf[1]]);
+			purple_debug_error("socks5 proxy", "%s", socks5errors[buf[1]]);
 			purple_proxy_connect_data_disconnect(connect_data,
 					socks5errors[buf[1]]);
 		} else {