Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2015-12-06 15:57:45 +0300
committerrofl0r <retnyg@gmx.net>2015-12-06 15:57:45 +0300
commit0e0e35927cb116c90bd4d9f9958c37ffac4b59dd (patch)
treed6f9ce9af85a6f2b04a5539b095dcc95e37a2d68
parent205004fa2af34bfd6b9e9912306448d65fa6c197 (diff)
mute warning in debug mode
-rw-r--r--src/libproxychains.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libproxychains.c b/src/libproxychains.c
index 28edaf3..686ea6e 100644
--- a/src/libproxychains.c
+++ b/src/libproxychains.c
@@ -350,7 +350,7 @@ int connect(int sock, const struct sockaddr *addr, unsigned int len) {
// PDEBUG("localnet: %s; ", inet_ntop(AF_INET,&in_addr_localnet, str, sizeof(str)));
// PDEBUG("netmask: %s; " , inet_ntop(AF_INET, &in_addr_netmask, str, sizeof(str)));
- PDEBUG("target: %s\n", inet_ntop(v6 ? AF_INET6 : AF_INET, v6 ? p_addr_in6 : p_addr_in, str, sizeof(str)));
+ PDEBUG("target: %s\n", inet_ntop(v6 ? AF_INET6 : AF_INET, v6 ? (void*)p_addr_in6 : (void*)p_addr_in, str, sizeof(str)));
PDEBUG("port: %d\n", port);
// check if connect called from proxydns