diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2013-04-30 18:05:27 +0200 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2013-04-30 18:07:38 +0200 |
commit | 934b47030b03c6bc69848097cd77450f6c781d88 (patch) | |
tree | 040a3c8f0f53b6bfe7daae3d33b65c1ced2a2cc1 | |
parent | 6747a496d800c23af0cd41c96f784fe6bae5667c (diff) | |
download | ebus-alt-934b47030b03c6bc69848097cd77450f6c781d88.tar.gz ebus-alt-934b47030b03c6bc69848097cd77450f6c781d88.zip |
fix server option
-rw-r--r-- | datastore-leveldb/src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<int>()).c_str()); + const char *port = strdup(std::to_string(vm["port"].as<int>()).c_str()); const char *wwwroot = strdup(vm["wwwroot"].as<std::string>().c_str()); // Mongoose options |