summaryrefslogtreecommitdiff
path: root/src/muniad.cc
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2012-03-22 16:31:28 +0100
committerJonas Suhr Christensen <jsc@umbraculum.org>2012-03-22 16:31:28 +0100
commitf7dc7c17af52e8300cb188c4fb3e4a8b1638e8f9 (patch)
treeaa3626b6e0115cea8e8ad7466b1fdf4f3a002276 /src/muniad.cc
parent4ae66c9fe069e90f96408c3bfa5554faf5a37c6d (diff)
Fixed order of task in init. Now are tasks only (hopefully) added after its
parent. Added write and read.
Diffstat (limited to 'src/muniad.cc')
-rw-r--r--src/muniad.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/muniad.cc b/src/muniad.cc
index ab69456..4523d8a 100644
--- a/src/muniad.cc
+++ b/src/muniad.cc
@@ -64,6 +64,7 @@ static struct option options[] = {
{ "ssl", no_argument, NULL, 's' },
{ "killmask", no_argument, NULL, 'k' },
{ "interface", required_argument, NULL, 'i' },
+// { "dumpfile", required_argument, NULL, 'd'},
{ NULL, 0, 0, 0 }
};
@@ -81,6 +82,7 @@ int main(int argc, char **argv)
int opts = 0;
char interface_name[128] = "";
const char * interface = NULL;
+// std::string dumpfile;
fprintf(stderr, "Munia test server\n"
"(C) Copyright 2012 Bent Bisballe Nyeng (deva@aasimon.org)\n"
@@ -94,6 +96,8 @@ int main(int argc, char **argv)
case 's':
use_ssl = 1;
break;
+// case 'd':
+// dumpfile = optarg;
case 'k':
opts = LWS_SERVER_OPTION_DEFEAT_CLIENT_MASK;
break;