summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2013-06-26 04:29:43 +0200
committerEric Covener <covener@apache.org>2013-06-26 04:29:43 +0200
commitcd331723ca2b3370e6597392f21a677083d10024 (patch)
treefcb93580d92a0ab71639e3e50d9b4747dd91a0d5 /server
parentUpdate doccu. (diff)
downloadapache2-cd331723ca2b3370e6597392f21a677083d10024.tar.xz
apache2-cd331723ca2b3370e6597392f21a677083d10024.zip
factor out DEFAULT_HANDLER_NAME
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1496709 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/config.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/server/config.c b/server/config.c
index 465ebf2207..b14818c95b 100644
--- a/server/config.c
+++ b/server/config.c
@@ -373,12 +373,6 @@ static int invoke_filter_init(request_rec *r, ap_filter_t *filters)
return OK;
}
-/*
- * TODO: Move this to an appropriate include file and possibly prefix it
- * with AP_.
- */
-#define DEFAULT_HANDLER_NAME ""
-
AP_CORE_DECLARE(int) ap_invoke_handler(request_rec *r)
{
const char *handler;
@@ -427,7 +421,7 @@ AP_CORE_DECLARE(int) ap_invoke_handler(request_rec *r)
}
}
else {
- handler = DEFAULT_HANDLER_NAME;
+ handler = AP_DEFAULT_HANDLER_NAME;
}
r->handler = handler;