--- parser3/src/main/pa_http.C 2020/12/20 19:58:54 1.115 +++ parser3/src/main/pa_http.C 2021/01/02 23:01:11 1.117 @@ -14,7 +14,7 @@ #include "pa_vfile.h" #include "pa_random.h" -volatile const char * IDENT_PA_HTTP_C="$Id: pa_http.C,v 1.115 2020/12/20 19:58:54 moko Exp $" IDENT_PA_HTTP_H; +volatile const char * IDENT_PA_HTTP_C="$Id: pa_http.C,v 1.117 2021/01/02 23:01:11 moko Exp $" IDENT_PA_HTTP_H; #ifdef _MSC_VER #include @@ -1239,10 +1239,10 @@ void HTTPD_Server::set_mode(const String else if (value == "threaded") mode = MULTITHREADED; #endif #ifdef _MSC_VER - else throw Exception("httpd.mode", &value, "$main:HTTPD.mode must be 'sequental' or 'threaded'"); + else throw Exception("httpd.mode", &value, "$MAIN:HTTPD.mode must be 'sequental' or 'threaded'"); #else else if (value == "parallel") mode = PARALLEL; - else throw Exception("httpd.mode", &value, "$main:HTTPD.mode must be 'sequental', 'parallel' or 'threaded'"); + else throw Exception("httpd.mode", &value, "$MAIN:HTTPD.mode must be 'sequental', 'parallel' or 'threaded'"); #endif } @@ -1251,7 +1251,7 @@ int HTTPD_Server::bind(const char *host_ port = strchr(host_port, ':'); const char *host = NULL; - if(port ){ + if(port){ if(port > host_port) host = pa_strdup(host_port, port - host_port); port += 1;