]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
This correct mpmt_beos for the recent changes of argument ordering for
authorDavid Reid <dreid@apache.org>
Wed, 13 Oct 1999 22:37:19 +0000 (22:37 +0000)
committerDavid Reid <dreid@apache.org>
Wed, 13 Oct 1999 22:37:19 +0000 (22:37 +0000)
ap_get_os_sock.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83991 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/mpmt_beos/mpmt_beos.c

index 719936c77175895916e472c1498f86508787b015..db501c1b8ee636d2d6adde75ef7331b41bf692cf 100644 (file)
@@ -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;
     }