rbb 99/02/17 14:39:44
Modified: pthreads/src/main http_main.c
Log:
This fixes a stupid mistake I made earlier. Too much coding the last few days
Revision Changes Path
1.43 +2 -2 apache-apr/pthreads/src/main/http_main.c
Index: http_main.c
===================================================================
RCS file: /home/cvs/apache-apr/pthreads/src/main/http_main.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- http_main.c 1999/02/17 20:28:56 1.42
+++ http_main.c 1999/02/17 22:39:43 1.43
@@ -2268,7 +2268,7 @@
sock_disable_nagle(sd);
*/
- while ((ap_max_requests_per_child != 0 && ++requests_this_child > 0) ||
+ while ((ap_max_requests_per_child != 0 && requests_this_child > 0) ||
(ap_max_requests_per_child == 0)) {
(void) ap_update_child_status(my_pid, my_tid, SERVER_ACCEPTING,
(request_rec *) NULL);
@@ -2312,7 +2312,7 @@
free(ti);
ptrans = ap_make_sub_pool(pchild);
- while ((ap_max_requests_per_child != 0 && ++requests_this_child > 0) ||
+ while ((ap_max_requests_per_child != 0 && requests_this_child > 0) ||
(ap_max_requests_per_child == 0)) {
(void) ap_update_child_status(my_pid, my_tid, SERVER_READY,
(request_rec *) NULL);