mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
Fixed nginx listen() bug
This commit is contained in:
parent
3e8e025704
commit
b96c08f35c
3 changed files with 9 additions and 5 deletions
|
@ -740,8 +740,8 @@ int listen(LISTEN_SIG)
|
|||
memcpy(&cmd[1], &rpc_st, sizeof(struct listen_st));
|
||||
pthread_mutex_lock(&lock);
|
||||
send_command(fdret_sock, cmd);
|
||||
err = get_retval();
|
||||
//err = get_retval();
|
||||
pthread_mutex_unlock(&lock);
|
||||
errno = ERR_OK;
|
||||
return err;
|
||||
//errno = ERR_OK;
|
||||
return ERR_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue