]> granicus.if.org Git - apache/commitdiff
Log the return code in the debug message to properly indicate why the lock
authorGraham Leggett <minfrin@apache.org>
Thu, 27 Aug 2009 21:47:26 +0000 (21:47 +0000)
committerGraham Leggett <minfrin@apache.org>
Thu, 27 Aug 2009 21:47:26 +0000 (21:47 +0000)
could not be obtained.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808652 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_cache.c

index b5e616b69c24927a60b1e63f34c6aff2a916856a..5a78e6f9b7a244f3b872c425434f4976065e9e27 100644 (file)
@@ -159,7 +159,7 @@ static int cache_url_handler(request_rec *r, int lookup)
                                 cache, r, r->connection);
                 }
                 else {
-                    ap_log_error(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS,
+                    ap_log_error(APLOG_MARK, APLOG_DEBUG, rv,
                                  r->server, "Cache locked for url, not caching "
                                  "response: %s", r->uri);
                 }