brian 96/09/30 13:48:02
Modified: src http_main.c
Log:
Submitted by: Tom Tromey
changed exit status for -v and -h.
Revision Changes Path
1.73 +3 -3 apache/src/http_main.c
Index: http_main.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_main.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -C3 -r1.72 -r1.73
*** http_main.c 1996/09/25 20:07:50 1.72
--- http_main.c 1996/09/30 20:47:59 1.73
***************
*** 50,56 ****
*
*/
! /* $Id: http_main.c,v 1.72 1996/09/25 20:07:50 chuck Exp $ */
/*
* httpd.c: simple http daemon for answering WWW file requests
--- 50,56 ----
*
*/
! /* $Id: http_main.c,v 1.73 1996/09/30 20:47:59 brian Exp $ */
/*
* httpd.c: simple http daemon for answering WWW file requests
***************
*** 1932,1941 ****
break;
case 'v':
printf("Server version %s.\n",SERVER_VERSION);
! exit(1);
case 'h':
show_directives();
! exit(1);
case 'X':
++one_process; /* Weird debugging mode. */
break;
--- 1932,1941 ----
break;
case 'v':
printf("Server version %s.\n",SERVER_VERSION);
! exit(0);
case 'h':
show_directives();
! exit(0);
case 'X':
++one_process; /* Weird debugging mode. */
break;