You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
494 B
14 lines
494 B
6 years ago
|
diff --git a/src/libproxychains.c b/src/libproxychains.c
|
||
|
index 7373d55..20bf993 100644
|
||
|
--- a/src/libproxychains.c
|
||
|
+++ b/src/libproxychains.c
|
||
|
@@ -332,7 +332,7 @@ static int is_v4inv6(const struct in6_addr *a) {
|
||
|
return a->s6_addr32[0] == 0 && a->s6_addr32[1] == 0 &&
|
||
|
a->s6_addr16[4] == 0 && a->s6_addr16[5] == 0xffff;
|
||
|
}
|
||
|
-int connect(int sock, const struct sockaddr *addr, unsigned int len) {
|
||
|
+int connect(int sock, const struct sockaddr *addr, socklen_t len) {
|
||
|
INIT();
|
||
|
PFUNC();
|
||
|
|