httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r809665 - /httpd/httpd/trunk/modules/cache/cache_util.c
Date Mon, 31 Aug 2009 17:11:27 GMT
Author: minfrin
Date: Mon Aug 31 17:11:27 2009
New Revision: 809665

URL: http://svn.apache.org/viewvc?rev=809665&view=rev
Log:
Add suggested parentheses around APR_STATUS_IS_ENOENT.

Modified:
    httpd/httpd/trunk/modules/cache/cache_util.c

Modified: httpd/httpd/trunk/modules/cache/cache_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/cache_util.c?rev=809665&r1=809664&r2=809665&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/cache_util.c (original)
+++ httpd/httpd/trunk/modules/cache/cache_util.c Mon Aug 31 17:11:27 2009
@@ -241,7 +241,7 @@
     /* is an existing lock file too old? */
     status = apr_stat(&finfo, lockname,
                 APR_FINFO_MTIME | APR_FINFO_NLINK, r->pool);
-    if (!APR_STATUS_IS_ENOENT(status) && APR_SUCCESS != status) {
+    if (!(APR_STATUS_IS_ENOENT(status)) && APR_SUCCESS != status) {
         ap_log_error(APLOG_MARK, APLOG_ERR, APR_EEXIST, r->server,
                      "Could not stat a cache lock file: %s",
                      lockname);



Mime
View raw message