httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-2.0/mpm/src/modules/mpm/prefork prefork.c
Date Sat, 26 Jun 1999 12:25:37 GMT
ben         99/06/26 05:25:37

  Modified:    mpm/src/modules/mpm/prefork prefork.c
  Log:
  If last_lr is the last listener, then lr can start out NULL.
  
  Revision  Changes    Path
  1.5       +2 -2      apache-2.0/mpm/src/modules/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /export/home/cvs/apache-2.0/mpm/src/modules/mpm/prefork/prefork.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- prefork.c	1999/06/25 01:25:11	1.4
  +++ prefork.c	1999/06/26 12:25:36	1.5
  @@ -2190,11 +2190,11 @@
   		    lr = last_lr->next;
   		}
   		while (lr != last_lr) {
  -		    if (FD_ISSET(lr->fd, &main_fds)) break;
  -		    lr = lr->next;
   		    if (!lr) {
   			lr = ap_listeners;
   		    }
  +		    if (FD_ISSET(lr->fd, &main_fds)) break;
  +		    lr = lr->next;
   		}
   		if (lr == last_lr) {
   		    continue;
  
  
  

Mime
View raw message