]> granicus.if.org Git - apache/commitdiff
cppCheck: same expression on both side of '|'.
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 10 Dec 2012 20:23:50 +0000 (20:23 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 10 Dec 2012 20:23:50 +0000 (20:23 +0000)
Fix it the same way other messages are managed in the function.

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

server/mpm/winnt/service.c

index bf5f021a28e4bad34a6038f2e9886fa0a8ebe128..f1d2c3778cc3dc5b4efa07567fd7d867ec9bf45e 100644 (file)
@@ -593,7 +593,7 @@ apr_status_t mpm_service_install(apr_pool_t *ptemp, int argc,
         schService = OpenService(schSCManager, mpm_service_name,
                                  SERVICE_CHANGE_CONFIG);
         if (!schService) {
-            ap_log_error(APLOG_MARK, APLOG_ERR|APLOG_ERR,
+            ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_STARTUP,
                          apr_get_os_error(), NULL,
                          "OpenService failed");
         }
@@ -605,7 +605,7 @@ apr_status_t mpm_service_install(apr_pool_t *ptemp, int argc,
                                       launch_cmd, NULL, NULL,
                                       "Tcpip\0Afd\0", NULL, NULL,
                                       mpm_display_name)) {
-            ap_log_error(APLOG_MARK, APLOG_ERR|APLOG_ERR,
+            ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_STARTUP,
                          apr_get_os_error(), NULL,
                          "ChangeServiceConfig failed");