mirror of
https://github.com/apache/httpd.git
synced 2025-08-13 14:40:20 +00:00
Use APR_STATUS_IS_... in some more cases.
While this is not strictly necessary everywhere, it makes it much easier to find the problematic cases. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1102124 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -643,7 +643,7 @@ int ap_signal_server(int *exit_status, apr_pool_t *pconf)
|
||||
|
||||
rv = ap_read_pid(pconf, ap_pid_fname, &otherpid);
|
||||
if (rv != APR_SUCCESS) {
|
||||
if (rv != APR_ENOENT) {
|
||||
if (!APR_STATUS_IS_ENOENT(rv)) {
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP, rv, NULL,
|
||||
"Error retrieving pid file %s", ap_pid_fname);
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
|
||||
|
Reference in New Issue
Block a user