You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2012/12/10 21:23:50 UTC
svn commit: r1419726 - /httpd/httpd/trunk/server/mpm/winnt/service.c
Author: jailletc36
Date: Mon Dec 10 20:23:50 2012
New Revision: 1419726
URL: http://svn.apache.org/viewvc?rev=1419726&view=rev
Log:
cppCheck: same expression on both side of '|'.
Fix it the same way other messages are managed in the function.
Modified:
httpd/httpd/trunk/server/mpm/winnt/service.c
Modified: httpd/httpd/trunk/server/mpm/winnt/service.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/winnt/service.c?rev=1419726&r1=1419725&r2=1419726&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/winnt/service.c (original)
+++ httpd/httpd/trunk/server/mpm/winnt/service.c Mon Dec 10 20:23:50 2012
@@ -593,7 +593,7 @@ apr_status_t mpm_service_install(apr_poo
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_poo
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");