dreid 99/10/13 15:37:20
Modified: src/modules/mpm/mpmt_beos mpmt_beos.c Log: This correct mpmt_beos for the recent changes of argument ordering for ap_get_os_sock. Revision Changes Path 1.3 +2 -2 apache-2.0/src/modules/mpm/mpmt_beos/mpmt_beos.c Index: mpmt_beos.c =================================================================== RCS file: /home/cvs/apache-2.0/src/modules/mpm/mpmt_beos/mpmt_beos.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- mpmt_beos.c 1999/10/09 20:27:25 1.2 +++ mpmt_beos.c 1999/10/13 22:37:19 1.3 @@ -770,7 +770,7 @@ SAFE_ACCEPT(intra_mutex_off(0)); break; } - ap_get_os_sock(csd, &thesock); + ap_get_os_sock(&thesock, csd); process_socket(ptrans, &sa_client, thesock, process_slot, thread_slot); ap_clear_pool(ptrans); requests_this_child--; @@ -831,7 +831,7 @@ /* Set up the pollfd array */ listenfds = ap_palloc(pchild, sizeof(struct pollfd) * (num_listenfds)); for (lr = ap_listeners, i = 0; i < num_listenfds; lr = lr->next, ++i) { - ap_get_os_sock(lr->sd, &listenfds[i].fd); + ap_get_os_sock(&listenfds[i].fd , lr->sd); listenfds[i].events = POLLIN; /* should we add POLLPRI ?*/ listenfds[i].revents = 0; }