len should be a socklen_t rather than an unsigned int in _qq_s5_canwrite()

Tue, 11 Sep 2007 13:50:03 +0000

author
Evan Schoenberg <evands@pidgin.im>
date
Tue, 11 Sep 2007 13:50:03 +0000
changeset 19937
a37cfb198cdd
parent 19936
4e02485ca561
child 19938
a711277dac04

len should be a socklen_t rather than an unsigned int in _qq_s5_canwrite()

libpurple/protocols/qq/udp_proxy_s5.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/qq/udp_proxy_s5.c	Tue Sep 11 13:48:19 2007 +0000
+++ b/libpurple/protocols/qq/udp_proxy_s5.c	Tue Sep 11 13:50:03 2007 +0000
@@ -285,7 +285,7 @@
 	unsigned char buf[512];
 	int i;
 	struct PHB *phb = data;
-	unsigned int len;
+	socklen_t len;
 	int error = ETIMEDOUT;
 
 	purple_debug(PURPLE_DEBUG_INFO, "socks5 proxy", "Connected.\n");

mercurial