summaryrefslogtreecommitdiff
path: root/datastore-leveldb/src
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2013-04-30 18:05:27 +0200
committerYves Fischer <yvesf-git@xapek.org>2013-04-30 18:07:38 +0200
commit934b47030b03c6bc69848097cd77450f6c781d88 (patch)
tree040a3c8f0f53b6bfe7daae3d33b65c1ced2a2cc1 /datastore-leveldb/src
parent6747a496d800c23af0cd41c96f784fe6bae5667c (diff)
downloadebus-alt-934b47030b03c6bc69848097cd77450f6c781d88.tar.gz
ebus-alt-934b47030b03c6bc69848097cd77450f6c781d88.zip
fix server option
Diffstat (limited to 'datastore-leveldb/src')
-rw-r--r--datastore-leveldb/src/server.cpp2
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