Mercurial > pidgin.yaz
comparison libpurple/proxy.c @ 25324:9290eb3e07bf
More purple_debug printf(msg) fixes. I must have a newer GCC or something...
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 14 Nov 2008 06:05:21 +0000 |
parents | 1263f302d05e |
children | f3103f786c86 |
comparison
equal
deleted
inserted
replaced
25323:3b76a175a858 | 25324:9290eb3e07bf |
---|---|
1340 if(connect_data->read_len < 4) | 1340 if(connect_data->read_len < 4) |
1341 return; | 1341 return; |
1342 | 1342 |
1343 if ((buf[0] != 0x05) || (buf[1] != 0x00)) { | 1343 if ((buf[0] != 0x05) || (buf[1] != 0x00)) { |
1344 if ((buf[0] == 0x05) && (buf[1] < 0x09)) { | 1344 if ((buf[0] == 0x05) && (buf[1] < 0x09)) { |
1345 purple_debug_error("socks5 proxy", socks5errors[buf[1]]); | 1345 purple_debug_error("socks5 proxy", "%s", socks5errors[buf[1]]); |
1346 purple_proxy_connect_data_disconnect(connect_data, | 1346 purple_proxy_connect_data_disconnect(connect_data, |
1347 socks5errors[buf[1]]); | 1347 socks5errors[buf[1]]); |
1348 } else { | 1348 } else { |
1349 purple_debug_error("socks5 proxy", "Bad data.\n"); | 1349 purple_debug_error("socks5 proxy", "Bad data.\n"); |
1350 purple_proxy_connect_data_disconnect(connect_data, | 1350 purple_proxy_connect_data_disconnect(connect_data, |