From: Manoj Kasichainula Date: Sat, 30 Oct 1999 01:49:53 +0000 (+0000) Subject: Force ap_put_os_sock() to create a new ap_socket_t by presetting what's X-Git-Tag: 1.3.10~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad80b8a0013af3c93e3062de35f452443a1408e9;p=apache Force ap_put_os_sock() to create a new ap_socket_t by presetting what's passed in to NULL. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84071 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/dexter/dexter.c b/server/mpm/dexter/dexter.c index 7736f4c09b..dc0ec76dc0 100644 --- a/server/mpm/dexter/dexter.c +++ b/server/mpm/dexter/dexter.c @@ -918,6 +918,7 @@ static void *worker_thread(void *arg) /* XXX: Should we check for POLLERR? */ if (listenfds[curr_pollfd].revents & POLLIN) { last_pollfd = curr_pollfd; + sd = NULL; ap_put_os_sock(&sd, &listenfds[curr_pollfd].fd, ptrans); goto got_fd; }