]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Sort error message for ServerTokens by increasing verbosity. Add missing 'OS'
authorStefan Fritsch <sf@apache.org>
Sun, 2 Dec 2012 10:33:27 +0000 (10:33 +0000)
committerStefan Fritsch <sf@apache.org>
Sun, 2 Dec 2012 10:33:27 +0000 (10:33 +0000)
variant.

Remove some trailing whitespace.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1416150 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index 65bdff0de864dfe6cff901869bc31c09b8e37125..279e3e3bd4e9aec49302cd96f107df6c3512cf6a 100644 (file)
@@ -3234,11 +3234,11 @@ static const char *set_serv_tokens(cmd_parms *cmd, void *dummy,
     else if (!strcasecmp(arg1, "Prod") || !strcasecmp(arg1, "ProductOnly")) {
         ap_server_tokens = SrvTk_PRODUCT_ONLY;
     }
-    else if (!strcasecmp(arg1, "Full")) { 
+    else if (!strcasecmp(arg1, "Full")) {
         ap_server_tokens = SrvTk_FULL;
     }
-    else { 
-        return "ServerTokens takes 1 argument, 'Min', 'Major', 'Minor', 'Prod', or 'Full'";
+    else {
+        return "ServerTokens takes 1 argument, 'Prod', 'Major', 'Minor', 'Min', 'OS', or 'Full'";
     }
 
     return NULL;