Commit 7dc4e424 authored by Greg Ames's avatar Greg Ames
Browse files

fix another seg fault.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91431 13f79535-47bb-0310-9956-ffa450edef68
parent 7a7ec7a3
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -663,6 +663,7 @@ static void child_main(int child_num_arg)
		}
		first_lr=lr;
		do {
                    if (lr->active) {
                        apr_os_sock_get(&sockdes, lr->sd);
		        if (FD_ISSET(sockdes, &main_fds))
			    goto got_listener;
@@ -670,6 +671,7 @@ static void child_main(int child_num_arg)
                        if (!lr)
                            lr = ap_listeners;
                    }
		}
		while (lr != first_lr);
		/* FIXME: if we get here, something bad has happened, and we're
		   probably gonna spin forever.