mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
ntoa changed to ntop
This commit is contained in:
1 parent
7897b009a1
commit
ccf606fd9e
11 files changed
+36
-26
No files matched your search
+1
-1
@@ -100,7 +100,7 @@ int clientnegotiate(struct chain * redir, struct clientparam * param, unsigned l
|
||||
len = 8 + sprintf((char *)buf + 8, "%.256s", param->hostname);
|
||||
}
|
||||
else {
|
||||
len = 8 + myinet_ntoa(ina, (char *)buf+8);
|
||||
len = 8 + myinet_ntop(AF_INET, &ina, (char *)buf+8, 256);
|
||||
}
|
||||
len += sprintf((char *)buf + len,
|
||||
":%hu HTTP/1.0\r\nProxy-Connection: keep-alive\r\n", ntohs(port));
|
||||
|
||||
Reference in new issue
Block a user