From: David Reid Date: Wed, 13 Oct 1999 22:37:19 +0000 (+0000) Subject: This correct mpmt_beos for the recent changes of argument ordering for X-Git-Tag: 1.3.10~261 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c44acc87793a8ff8516654903ccda953effb952b;p=thirdparty%2Fapache%2Fhttpd.git This correct mpmt_beos for the recent changes of argument ordering for ap_get_os_sock. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83991 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/mpmt_beos/mpmt_beos.c b/server/mpm/mpmt_beos/mpmt_beos.c index 719936c7717..db501c1b8ee 100644 --- a/server/mpm/mpmt_beos/mpmt_beos.c +++ b/server/mpm/mpmt_beos/mpmt_beos.c @@ -770,7 +770,7 @@ static int32 worker_thread(void * dummy) 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 @@ static int32 child_main(void * data) /* 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; }