summaryrefslogtreecommitdiff
path: root/lib/HttpServ.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/HttpServ.cc')
-rw-r--r--lib/HttpServ.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/HttpServ.cc b/lib/HttpServ.cc
index e258fd6..004567b 100644
--- a/lib/HttpServ.cc
+++ b/lib/HttpServ.cc
@@ -426,9 +426,13 @@ String ProcessRequest::GetMime(const String & f) {
return "text/plain";
}
-HttpServ::HttpServ(Action * ap, int port, const String & nname) throw (GeneralException) : p(ap), name(nname), localport(port) {
+HttpServ::HttpServ(Action * ap, int port, const String & nname) throw (GeneralException) {
bool r = true;
+ p = ap;
+ name = nname;
+ localport = port;
+
// std::cerr << "Initialising Mini HTTP-Server on port " << localport << std::endl;
r = Listener.SetLocal("", port);