]> granicus.if.org Git - apache/commitdiff
Yea, sure a message is always good. Note we can't log the exception.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 28 Nov 2001 02:09:46 +0000 (02:09 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 28 Nov 2001 02:09:46 +0000 (02:09 +0000)
  Submitted by John Sterling <sterling@covalent.net>

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

server/protocol.c

index a779e1401cd511846427508ebafcacd7720d5371..574f0a9855c564a5b56f6cf60c8271187569df60 100644 (file)
@@ -761,9 +761,10 @@ AP_DECLARE(void) ap_note_auth_failure(request_rec *r)
         else if (!strcasecmp(type, "Digest"))
             ap_note_digest_auth_failure(r);
     }
-    /* XXX: else there is no AuthType configured
-     *      should we log an error or something ?
-     */
+    else {
+        ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR,
+                      0, r, "need AuthType to note auth failure: %s", r->uri);
+    }
 }
 
 AP_DECLARE(void) ap_note_basic_auth_failure(request_rec *r)