Permalink
Browse files

Log cache locking failure to proper server error log

Signed-off-by: Michał Pokrywka <michal.pokrywka@gmail.com>
  • Loading branch information...
1 parent 87fdd77 commit 66bd45454785444b4e954214617ac225a8330d9d @mpokrywka mpokrywka committed Feb 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod_upload_progress.c
View
@@ -71,7 +71,7 @@
up_log(APLOG_MARK, APLOG_DEBUG, 0, server, "CACHE_LOCK()"); \
apr_status_t status = apr_global_mutex_lock(config->cache_lock); \
if (status != APR_SUCCESS) { \
- ap_log_error(APLOG_MARK, APLOG_CRIT, status, 0, \
+ ap_log_error(APLOG_MARK, APLOG_CRIT, status, server, \
"%s", apr_strerror(status, errbuf, sizeof(errbuf))); \
} \
} \

0 comments on commit 66bd454

Please sign in to comment.