]> granicus.if.org Git - apache/commitdiff
Add suggested parentheses around APR_STATUS_IS_ENOENT.
authorGraham Leggett <minfrin@apache.org>
Mon, 31 Aug 2009 17:11:27 +0000 (17:11 +0000)
committerGraham Leggett <minfrin@apache.org>
Mon, 31 Aug 2009 17:11:27 +0000 (17:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@809665 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/cache_util.c

index 9b8b1e40757632d4a0d393afbd9d42ae387a2c5b..3334e3b60ac86f02931f515aa07bded5449d16b5 100644 (file)
@@ -241,7 +241,7 @@ CACHE_DECLARE(apr_status_t) ap_cache_try_lock(cache_server_conf *conf,
     /* 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);