summaryrefslogtreecommitdiff
path: root/project2/cgi
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-11-02 16:39:12 +0000
committerrandomdan <randomdan@localhost>2011-11-02 16:39:12 +0000
commitbc034e852ebd75557418668fa946eca55cfb4958 (patch)
treea33de1084a8f2e9b04a4111905df6d249fabed65 /project2/cgi
parentFinally sort the stupid names problem in the XML lib and remove xmlMemCache f... (diff)
downloadproject2-bc034e852ebd75557418668fa946eca55cfb4958.tar.bz2
project2-bc034e852ebd75557418668fa946eca55cfb4958.tar.xz
project2-bc034e852ebd75557418668fa946eca55cfb4958.zip
Make many things use variables instead of preread values
Add support for a Boolean type Fix flow error in exception handling
Diffstat (limited to 'project2/cgi')
-rw-r--r--project2/cgi/cgiAppEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/cgi/cgiAppEngine.cpp b/project2/cgi/cgiAppEngine.cpp
index 0f15f89..ceac940 100644
--- a/project2/cgi/cgiAppEngine.cpp
+++ b/project2/cgi/cgiAppEngine.cpp
@@ -57,7 +57,7 @@ CgiApplicationEngine::process() const
currentStage = currentStage.get<0>()->run();
}
catch (const CheckHost::CheckFailure & cf) {
- currentStage = NextStage(new PresentStage(_env, _env->resolveScript(_env->presentRoot, cf.failedCheck->present)));
+ currentStage = NextStage(new PresentStage(_env, _env->resolveScript(_env->presentRoot, cf.failedCheck->present())));
}
catch (const XmlScriptParser::NotFound & nf) {
if (_env->notFoundPresent.empty() || triedNotFound) {