You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2003/07/11 04:40:20 UTC
cvs commit: httpd-apreq-2/env/c-modules/apreq_access_test mod_apreq_access_test.c
joes 2003/07/10 19:40:20
Modified: env/c-modules/apreq_access_test mod_apreq_access_test.c
Log:
Use DECLINED,OK instead of 0,-1
Revision Changes Path
1.2 +2 -2 httpd-apreq-2/env/c-modules/apreq_access_test/mod_apreq_access_test.c
Index: mod_apreq_access_test.c
===================================================================
RCS file: /home/cvs/httpd-apreq-2/env/c-modules/apreq_access_test/mod_apreq_access_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mod_apreq_access_test.c 9 Jul 2003 15:54:58 -0000 1.1
+++ mod_apreq_access_test.c 11 Jul 2003 02:40:20 -0000 1.2
@@ -105,10 +105,10 @@
ap_get_module_config(r->per_dir_config, &apreq_access_test_module);
if (!cfg || !cfg->param)
- return -1;
+ return DECLINED;
if (apreq_param(req, cfg->param))
- return 0;
+ return OK;
else {
if (req->body)
apreq_log(APREQ_DEBUG HTTP_FORBIDDEN, r, "%s not found in %d elts",