From: Christophe Jaillet Date: Mon, 10 Dec 2012 20:23:50 +0000 (+0000) Subject: cppCheck: same expression on both side of '|'. X-Git-Tag: 2.5.0-alpha~6037 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fa9d10959590d4ae0394c15f8e7fddf8b8951b6;p=apache cppCheck: same expression on both side of '|'. 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 --- diff --git a/server/mpm/winnt/service.c b/server/mpm/winnt/service.c index bf5f021a28..f1d2c3778c 100644 --- a/server/mpm/winnt/service.c +++ b/server/mpm/winnt/service.c @@ -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");