summaryrefslogtreecommitdiff
path: root/src/proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/proxy.c')
-rw-r--r--src/proxy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proxy.c b/src/proxy.c
index 2287031ff..5fa38479a 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -263,7 +263,8 @@ static int proxy_connect(unsigned long ip, unsigned short port)
fd_set fds;
struct timeval tv;
- int error, errlen;
+ int error;
+ unsigned int errlen;
if ((s = socket(PF_INET, SOCK_STREAM, 0)) == -1)
return -1;