bd6813c490
Can be used as replacement for 'torsocks' which is not working after Android 8.
14 lines
494 B
Diff
14 lines
494 B
Diff
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();
|
|
|