From f7dc7c17af52e8300cb188c4fb3e4a8b1638e8f9 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Thu, 22 Mar 2012 16:31:28 +0100 Subject: Fixed order of task in init. Now are tasks only (hopefully) added after its parent. Added write and read. --- src/muniad.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/muniad.cc') 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; -- cgit v1.2.3