From 0bd1158050019b251810f4afd7083eff301749ab Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 12 Sep 2005 23:00:22 +0000 Subject: Fix some small apache1.3 compatibility issues. --- apache1x/mod_httpauth.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apache1x') 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; -- cgit v1.2.3