You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by je...@apache.org on 2005/08/10 09:18:16 UTC

svn commit: r231188 - /httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c

Author: jerenkrantz
Date: Wed Aug 10 00:18:12 2005
New Revision: 231188

URL: http://svn.apache.org/viewcvs?rev=231188&view=rev
Log:
* module-2.0/mod_mbox_index.c
  (generate_mbox_index): DECLINE if we don't have a cache file instead of
  erroring out.

Modified:
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c
URL: http://svn.apache.org/viewcvs/httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c?rev=231188&r1=231187&r2=231188&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c Wed Aug 10 00:18:12 2005
@@ -113,10 +113,10 @@
 
     rv = mbox_cache_get(&mli, r->filename, r->pool);
     if (rv != APR_SUCCESS) {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
+        ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r,
                        "mod_mbox: Can't open directory cache '%s' for index",
                        r->filename);
-        return HTTP_FORBIDDEN;
+        return DECLINED;
     }
 
     ap_set_content_type(r, "text/html; charset=utf-8");