mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
closecoket() is used instead of so._closesocket
This commit is contained in:
1 parent
372e5625c3
commit
305f01acb5
1 file changed
+1
-1
+1
-1
@@ -1283,7 +1283,7 @@ static int h_radius(int argc, unsigned char **argv){
|
||||
oldrad = nradservers;
|
||||
nradservers = 0;
|
||||
for(; oldrad; oldrad--){
|
||||
if(radiuslist[oldrad].logsock >= 0)closesocket(radiuslist[oldrad].logsock);
|
||||
if(radiuslist[oldrad].logsock >= 0) so._closesocket(radiuslist[oldrad].logsock);
|
||||
radiuslist[oldrad].logsock = -1;
|
||||
}
|
||||
memset(radiuslist, 0, sizeof(radiuslist));
|
||||
|
||||
Reference in new issue
Block a user