mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Use so._closesocket instead of socket (compilation issues on non-Windows)
This commit is contained in:
1 parent
cbe0c2f511
commit
c30065256f
1 file changed
+1
-1
+1
-1
@@ -712,7 +712,7 @@ int checkACL(struct clientparam * param){
|
||||
dup = *acentry;
|
||||
res = handleredirect(param, &dup);
|
||||
if(!res) break;
|
||||
if(param->remsock != INVALID_SOCKET) closesocket(param->remsock);
|
||||
if(param->remsock != INVALID_SOCKET) so._closesocket(param->remsock);
|
||||
param->remsock = INVALID_SOCKET;
|
||||
}
|
||||
return res;
|
||||
|
||||
Reference in new issue
Block a user