diff options
author | Paul Querna <pquerna@apache.org> | 2005-05-05 23:15:45 +0200 |
---|---|---|
committer | Paul Querna <pquerna@apache.org> | 2005-05-05 23:15:45 +0200 |
commit | 7b4e28611964f75ffd59d72d0d8797094e1c7405 (patch) | |
tree | 8bd960249a891350ef84e8b5eda5e27e162dc966 /server/listen.c | |
parent | note change in mod_authnz_ldap (diff) | |
download | apache2-7b4e28611964f75ffd59d72d0d8797094e1c7405.tar.xz apache2-7b4e28611964f75ffd59d72d0d8797094e1c7405.zip |
* server/listen.c: Remove the unused port parameter from open_listeners, and update the comment to reflect reality.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@168411 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/listen.c')
-rw-r--r-- | server/listen.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/server/listen.c b/server/listen.c index 6a17e43dd8..64b7505484 100644 --- a/server/listen.c +++ b/server/listen.c @@ -315,13 +315,11 @@ static const char *alloc_listener(process_rec *process, char *addr, apr_port_t p } /** - * Create and open a socket on the specified port. This includes listening - * and binding the socket. + * Create, open, listen, and bind all sockets. * @param process The process record for the currently running server - * @param port The port to open a socket on. * @return The number of open sockets */ -static int open_listeners(apr_pool_t *pool, apr_port_t port) +static int open_listeners(apr_pool_t *pool) { ap_listen_rec *lr; ap_listen_rec *next; @@ -456,7 +454,7 @@ AP_DECLARE(int) ap_setup_listeners(server_rec *s) ap_listen_rec *lr; int num_listeners = 0; - if (open_listeners(s->process->pool, s->port)) { + if (open_listeners(s->process->pool)) { return 0; } |