diff options
author | Ryan Bloom <rbb@apache.org> | 1999-10-04 18:38:16 +0200 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 1999-10-04 18:38:16 +0200 |
commit | 2b361ec5572a99e4ca17f1bcb6b2872d1a6b63e0 (patch) | |
tree | dcf05e1957076a4525835e0b852eea1e2bd14a32 /server/listen.c | |
parent | Exit the child process if too many select errors (diff) | |
download | apache2-2b361ec5572a99e4ca17f1bcb6b2872d1a6b63e0.tar.xz apache2-2b361ec5572a99e4ca17f1bcb6b2872d1a6b63e0.zip |
First patch to re-order function parameters. This one gets the low hanging
fruit, and moves most of the result parameters to the first argument.
Future patches in this series will move the rest of the result parameters
to the beginning of the list, and will move the context's to the end of the
list
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83927 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/listen.c')
-rw-r--r-- | server/listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/listen.c b/server/listen.c index 32f5b1d7a7..aa24b0d2b6 100644 --- a/server/listen.c +++ b/server/listen.c @@ -176,7 +176,7 @@ static void alloc_listener(char *addr, unsigned int port) /* XXX - We need to deal with freeing this structure properly. */ new = malloc(sizeof(ap_listen_rec)); new->active = 0; - if (ap_create_tcp_socket(NULL, &new->sd) != APR_SUCCESS) { + if (ap_create_tcp_socket(&new->sd, NULL) != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_CRIT, NULL, "make_sock: failed to get a socket for %s", addr); return; |