mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-07 22:18:04 +00:00
Fixed invalid termination sequence that might have lead to crash during termination
This commit is contained in:
parent
a18ac6309a
commit
b5ad7ebfce
4 changed files with 36 additions and 35 deletions
|
|
@ -39,7 +39,7 @@ static HTTPserver *httpserver;
|
|||
* Send error message back to a client.
|
||||
*/
|
||||
int send_error(struct mg_connection *conn, int status, const char *reason, const char *fmt, ...) {
|
||||
va_list ap;
|
||||
va_list ap;
|
||||
|
||||
conn->status_code = status;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue