diff options
Diffstat (limited to 'datastore-leveldb')
-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 |