mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-08 06:24:34 +00:00
HTTPserver.cpp: fix error message
This commit adds to an error message a forgotten format string component so that the output is complete.
This commit is contained in:
parent
899bfd7e73
commit
de79b1a366
1 changed files with 1 additions and 1 deletions
|
|
@ -483,7 +483,7 @@ HTTPserver::HTTPserver(u_int16_t _port, const char *_docs_dir, const char *_scri
|
|||
httpd_v4 = mg_start(&callbacks, NULL, (const char**)http_options);
|
||||
|
||||
if(httpd_v4 == NULL) {
|
||||
ntop->getTrace()->traceEvent(TRACE_ERROR, "Unable to start HTTP server (IPv4) on ports %s", ports, strerror(errno));
|
||||
ntop->getTrace()->traceEvent(TRACE_ERROR, "Unable to start HTTP server (IPv4) on ports %s %s", ports, strerror(errno));
|
||||
_exit(-1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue