marc 98/07/09 22:44:46
Modified: src/main http_core.c
Log:
Warn that StartServers does nothing on Win32 instead of just ignoring
it.
Revision Changes Path
1.210 +4 -0 apache-1.3/src/main/http_core.c
Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/http_core.c,v
retrieving revision 1.209
retrieving revision 1.210
diff -u -r1.209 -r1.210
--- http_core.c 1998/07/07 04:06:21 1.209
+++ http_core.c 1998/07/10 05:44:46 1.210
@@ -1853,12 +1853,16 @@
static const char *set_daemons_to_start(cmd_parms *cmd, void *dummy, char
*arg)
{
+#ifdef WIN32
+ fprintf(stderr, "WARNING: StartServers has no effect on Win32\n");
+#else
const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
if (err != NULL) {
return err;
}
ap_daemons_to_start = atoi(arg);
+#endif
return NULL;
}