httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r168411 - /httpd/httpd/trunk/server/listen.c
Date Thu, 05 May 2005 21:15:47 GMT
Author: pquerna
Date: Thu May  5 14:15:45 2005
New Revision: 168411

URL: http://svn.apache.org/viewcvs?rev=168411&view=rev
Log:
* server/listen.c: Remove the unused port parameter from open_listeners, and update the comment
to reflect reality.

Modified:
    httpd/httpd/trunk/server/listen.c

Modified: httpd/httpd/trunk/server/listen.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/listen.c?rev=168411&r1=168410&r2=168411&view=diff
==============================================================================
--- httpd/httpd/trunk/server/listen.c (original)
+++ httpd/httpd/trunk/server/listen.c Thu May  5 14:15:45 2005
@@ -315,13 +315,11 @@
 }
 
 /**
- * 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_listen_rec *lr;
     int num_listeners = 0;
 
-    if (open_listeners(s->process->pool, s->port)) {
+    if (open_listeners(s->process->pool)) {
        return 0;
     }
 



Mime
View raw message