diff options
author | Joseph Henry <joseph.henry@zerotier.com> | 2015-10-16 14:43:38 -0400 |
---|---|---|
committer | Joseph Henry <joseph.henry@zerotier.com> | 2015-10-16 14:43:38 -0400 |
commit | b96c08f35c2afd07daf261451daad7004c73f42d (patch) | |
tree | f2d11b86e47278c906cb5b5d602c755173e8d4a7 /netcon/Intercept.c | |
parent | 3e8e025704d6965cd0d67213bcca7d2ae1a70036 (diff) | |
download | infinitytier-b96c08f35c2afd07daf261451daad7004c73f42d.tar.gz infinitytier-b96c08f35c2afd07daf261451daad7004c73f42d.zip |
Fixed nginx listen() bug
Diffstat (limited to 'netcon/Intercept.c')
-rwxr-xr-x | netcon/Intercept.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netcon/Intercept.c b/netcon/Intercept.c index bb5cf9ce..aed7d185 100755 --- a/netcon/Intercept.c +++ b/netcon/Intercept.c @@ -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; } |