mirror of https://github.com/omar-polo/gmid.git
don't fprintf
This commit is contained in:
parent
a64959c99a
commit
3077ce5bee
2
server.c
2
server.c
|
@ -1035,7 +1035,7 @@ loop(struct tls *ctx, int sock4, int sock6)
|
|||
for (;;) {
|
||||
if ((n = poll(fds, MAX_USERS, INFTIM)) == -1) {
|
||||
if (errno == EINTR) {
|
||||
fprintf(stderr, "connected clients: %d\n",
|
||||
log_info(NULL, "%d connected clients",
|
||||
connected_clients);
|
||||
} else
|
||||
fatal("poll: %s", strerror(errno));
|
||||
|
|
Loading…
Reference in New Issue