summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2005-09-12 23:00:22 +0000
committerStef Walter <stef@memberwebs.com>2005-09-12 23:00:22 +0000
commit0bd1158050019b251810f4afd7083eff301749ab (patch)
tree092a6e716ea15dedfd88034967a01bd4d812ea1c
parent7f02187c64bb175a2f3239358b5848f811846573 (diff)
Fix some small apache1.3 compatibility issues.
-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;