diff options
| author | Ed Tanous <ed.tanous@intel.com> | 2017-05-16 12:35:38 -0700 |
|---|---|---|
| committer | Ed Tanous <ed.tanous@intel.com> | 2017-05-16 12:35:38 -0700 |
| commit | f0226cdb9e91d9cb9296cc1692836ab3bf05f8f0 (patch) | |
| tree | b1022161257bacc6919db74f86db66697665a159 /src | |
| parent | f4579919f111b4267e1f0533cd3718cb4570fb91 (diff) | |
| download | bmcweb-f0226cdb9e91d9cb9296cc1692836ab3bf05f8f0.tar.gz bmcweb-f0226cdb9e91d9cb9296cc1692836ab3bf05f8f0.zip | |
test
Diffstat (limited to 'src')
| -rw-r--r-- | src/webserver_main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp index 027c926..bda58d0 100644 --- a/src/webserver_main.cpp +++ b/src/webserver_main.cpp @@ -148,7 +148,7 @@ sensor_values read_sensor_values() { methods = read_dbus_xml_names(xml_data); } - fprintf(stdout, "Found %ld sensors \n", methods.size()); + fprintf(stdout, "Found %zd sensors \n", methods.size()); for (auto& method : methods) { // TODO(Ed) make sure sensor exposes SensorValue interface @@ -313,7 +313,7 @@ int main(int argc, char** argv) { LOG(DEBUG) << "Building SSL context"; auto ssl_context = ensuressl::get_ssl_context(ssl_pem_file); int port = 18080; - + LOG(DEBUG) << "Starting webserver on port " << port; app.port(port) //.ssl(std::move(ssl_context)) |

