You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2009/08/31 19:11:27 UTC
svn commit: r809665 - /httpd/httpd/trunk/modules/cache/cache_util.c
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);