httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject [PATCH] Server version OS/2 console banner fix
Date Fri, 08 May 1998 05:53:44 GMT
ap_get_server_version() returns NULL where it is, move the printf to a better
place (after ap_set_version() is called).

Just to put my 2c in, I think AddVersionPlatform should default to On if
we're going to get any value out of it.



Index: http_main.c
===================================================================
RCS file: /cvs/apache-1.3/src/main/http_main.c,v
retrieving revision 1.333
diff -u -w -r1.333 http_main.c
--- http_main.c	1998/05/08 03:17:01	1.333
+++ http_main.c	1998/05/08 05:41:18
@@ -3802,6 +3802,10 @@
 {
     int remaining_children_to_start;
 
+#ifdef __EMX__
+    printf("%s \n", ap_get_server_version());
+#endif
+
     ap_standalone = 1;
 
     is_graceful = 0;
@@ -4108,10 +4112,6 @@
 	    usage(argv[0]);
 	}
     }
-
-#ifdef __EMX__
-    printf("%s \n", ap_get_server_version());
-#endif
 
     ap_suexec_enabled = init_suexec();
     server_conf = ap_read_config(pconf, ptrans, ap_server_confname);

--
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Mime
View raw message