Commit 876063ce authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Client.c: Fix wrong function names in DEBUG/WARNING output

parent 9e22a10a
...@@ -517,12 +517,12 @@ void nxagentCheckRestartedClients(struct timeval **timeout) ...@@ -517,12 +517,12 @@ void nxagentCheckRestartedClients(struct timeval **timeout)
if (FD_ISSET(fd, &ClientsWithInput)) if (FD_ISSET(fd, &ClientsWithInput))
{ {
#ifdef WARNING #ifdef WARNING
fprintf(stderr, "nxagentBlockHandler: WARNING! Client [%d] with fd [%d] has input.\n", fprintf(stderr, "nxagentCheckRestartedClients: WARNING! Client [%d] with fd [%d] has input.\n",
clients[i] -> index, fd); clients[i] -> index, fd);
#endif #endif
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "nxagentBlockHandler: Setting a null timeout with former timeout [%ld] Ms.\n", fprintf(stderr, "nxagentCheckRestartedClients: Setting a null timeout with former timeout [%ld] Ms.\n",
(*timeout) -> tv_sec * 1000 + (*timeout) -> tv_usec / 1000); (*timeout) -> tv_sec * 1000 + (*timeout) -> tv_usec / 1000);
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment