Update logs
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user