From 934b47030b03c6bc69848097cd77450f6c781d88 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Tue, 30 Apr 2013 18:05:27 +0200 Subject: fix server option --- datastore-leveldb/src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastore-leveldb/src/server.cpp b/datastore-leveldb/src/server.cpp index c2c702d..83f4cdb 100644 --- a/datastore-leveldb/src/server.cpp +++ b/datastore-leveldb/src/server.cpp @@ -67,7 +67,7 @@ int main(int argc, char **argv) { std::cout << desc << std::endl; return 0; } - const char *port = strdup(std::to_string(vm["wwwroot"].as()).c_str()); + const char *port = strdup(std::to_string(vm["port"].as()).c_str()); const char *wwwroot = strdup(vm["wwwroot"].as().c_str()); // Mongoose options -- cgit v1.2.1