mirror of
https://github.com/3proxy/3proxy.git
synced 2026-07-01 21:52:52 +00:00
minor cleanups
This commit is contained in:
parent
54bcff710c
commit
355d31f8aa
1 changed files with 2 additions and 1 deletions
|
|
@ -705,8 +705,9 @@ void srvinit2(struct srvparam * srv, struct clientparam *param){
|
|||
|
||||
void srvfree(struct srvparam * srv){
|
||||
if(srv->srvsock != INVALID_SOCKET) so._closesocket(srv->srvsock);
|
||||
if(srv->cbsock != INVALID_SOCKET) so._closesocket(srv->cbsock);
|
||||
srv->srvsock = INVALID_SOCKET;
|
||||
if(srv->cbsock != INVALID_SOCKET) so._closesocket(srv->cbsock);
|
||||
srv->cbsock = INVALID_SOCKET;
|
||||
srv->service = S_ZOMBIE;
|
||||
while(srv->child) usleep(SLEEPTIME * 100);
|
||||
#ifndef STDMAIN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue