summaryrefslogtreecommitdiff
path: root/apache1x/mod_httpauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'apache1x/mod_httpauth.c')
-rw-r--r--apache1x/mod_httpauth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apache1x/mod_httpauth.c b/apache1x/mod_httpauth.c
index b2d9945..2aa34b8 100644
--- a/apache1x/mod_httpauth.c
+++ b/apache1x/mod_httpauth.c
@@ -719,13 +719,14 @@ retry:
if(ctx->socket == -1 && !retried)
{
- ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r,
+ errno = 0;
+ ap_log_rerror(APLOG_MARK, APLOG_WARNING, r,
"httpauth: reconnecting to to httpauthd");
retried = 1;
goto retry;
}
- ap_log_rerror(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(errno), r,
+ ap_log_rerror(APLOG_MARK, APLOG_ERR, r,
"httpauth: couldn't send request to httpauthd");
return HTTP_INTERNAL_SERVER_ERROR;