manoj 99/05/23 23:29:45
Modified: pthreads/src/main http_main.c
Log:
Minor cleanup
Revision Changes Path
1.83 +2 -5 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.82
retrieving revision 1.83
diff -u -u -r1.82 -r1.83
--- http_main.c 1999/05/24 03:07:02 1.82
+++ http_main.c 1999/05/24 06:29:43 1.83
@@ -1966,17 +1966,14 @@
sigaddset(&sig_mask, SIGTERM);
sigaddset(&sig_mask, SIGINT);
sigwait(&sig_mask, &signal_received);
- /* XXX - Do the appropriate thing for each signal */
switch (signal_received) {
case SIGTERM:
- just_die(SIGTERM);
- break;
case SIGINT:
- just_die(SIGINT);
+ just_die(signal_received);
break;
default:
ap_log_error(APLOG_MARK, APLOG_ALERT, server_conf,
- "received strange signal: %d", signal_received);
+ "received strange signal: %d", signal_received);
}
}