Update logs

This commit is contained in:
Kamil Trzcinski
2022-04-11 13:52:46 +02:00
parent 1d6298d248
commit ae12963c6e
23 changed files with 157 additions and 167 deletions

View File

@ -95,7 +95,7 @@ static void http_process(http_worker_t *worker, FILE *stream)
static void http_client(http_worker_t *worker)
{
worker->client_host = inet_ntoa(worker->client_addr.sin_addr);
E_LOG_INFO(worker, "Client connected %s.", worker->client_host);
LOG_INFO(worker, "Client connected %s.", worker->client_host);
struct timeval tv;
tv.tv_sec = 3;
@ -116,7 +116,7 @@ static void http_client(http_worker_t *worker)
close(worker->client_fd);
worker->client_fd = -1;
E_LOG_INFO(worker, "Client disconnected %s.", worker->client_host);
LOG_INFO(worker, "Client disconnected %s.", worker->client_host);
worker->client_host = NULL;
}