From b96c08f35c2afd07daf261451daad7004c73f42d Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Fri, 16 Oct 2015 14:43:38 -0400 Subject: Fixed nginx listen() bug --- netcon/Intercept.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'netcon/Intercept.c') 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; } -- cgit v1.2.3