Skip to content
Snippets Groups Projects
Commit 0c6913fb authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Another use of errprintf() to help de-dupe error logs/alerts

parent 9ab17ee4
No related branches found
No related tags found
No related merge requests found
...@@ -7549,7 +7549,7 @@ void web_server(void* arg) ...@@ -7549,7 +7549,7 @@ void web_server(void* arg)
if (!len_503) if (!len_503)
len_503 = strlen(error_503); len_503 = strlen(error_503);
if(sendsocket(client_socket, error_503, len_503) != len_503) if(sendsocket(client_socket, error_503, len_503) != len_503)
lprintf(LOG_ERR, "%04d FAILED sending error 503", client_socket); errprintf(LOG_ERR, WHERE, "%04d FAILED sending error 503", client_socket);
close_socket(&client_socket); close_socket(&client_socket);
continue; continue;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment