httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor J. Orlikowski" <...@raleigh.ibm.com>
Subject [PATCH] Fix to boogs in 64 bit patch
Date Wed, 21 Jun 2000 22:08:37 GMT
Index: src/modules/mpm/dexter/dexter.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/modules/mpm/dexter/dexter.c,v
retrieving revision 1.98
diff -u -r1.98 dexter.c
--- dexter.c    2000/06/21 13:15:27     1.98
+++ dexter.c    2000/06/21 22:07:42
@@ -787,7 +788,9 @@
     listenfds[0].events = POLLIN;
     listenfds[0].revents = 0;
     for (lr = ap_listeners, i = 1; i <= num_listenfds; lr = lr->next,
++i) {
-        ap_get_os_sock(&listenfds[i].fd, lr->sd);
+        ap_os_sock_t sock;
+        ap_get_os_sock(&sock, lr->sd);
+        listenfds[i].fd = sock;
         listenfds[i].events = POLLIN; /* should we add POLLPRI ?*/
         listenfds[i].revents = 0;
     }


Mime
View raw message