diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-05-25 01:46:01 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-05-25 01:46:01 -0700 |
commit | 5bf938797c73e8526b9ba228a3338d3972c2dfcd (patch) | |
tree | a62cc49945f61a29bca481687c3e66bfc730aeb1 /src/HttpActionStatic.cc | |
parent | 383a221c5c70b664424cb0e48d04160c60aa3b24 (diff) |
Creating a Balau project file.
Diffstat (limited to 'src/HttpActionStatic.cc')
-rw-r--r-- | src/HttpActionStatic.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/HttpActionStatic.cc b/src/HttpActionStatic.cc index d340bfa..d1cecaf 100644 --- a/src/HttpActionStatic.cc +++ b/src/HttpActionStatic.cc @@ -1,8 +1,8 @@ -#include "HttpActionStatic.h"
-#include "Input.h"
-#include "TaskMan.h"
-#include "HelperTasks.h"
-
+#include "HttpActionStatic.h" +#include "Input.h" +#include "TaskMan.h" +#include "HelperTasks.h" + bool Balau::HttpActionStatic::Do(HttpServer * server, Http::Request & req, HttpServer::Action::ActionMatch & match, IO<Handle> out) throw (GeneralException) { HttpServer::Response response(server, req, out); String & fname = match.uri[1]; @@ -24,7 +24,7 @@ bool Balau::HttpActionStatic::Do(HttpServer * server, Http::Request & req, HttpS try { file->open(); } - catch (ENoEnt & e) { + catch (ENoEnt &) { error = true; } } |