mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-16 08:38:12 +02:00
Use client pointer not file descriptor in logging.
This commit is contained in:
2
status.c
2
status.c
@ -164,7 +164,7 @@ status_timer_callback(unused int fd, unused short events, void *arg)
|
||||
|
||||
if (tv.tv_sec != 0)
|
||||
evtimer_add(&c->status_timer, &tv);
|
||||
log_debug("client %d, status interval %d", c->ibuf.fd, (int)tv.tv_sec);
|
||||
log_debug("client %p, status interval %d", c, (int)tv.tv_sec);
|
||||
}
|
||||
|
||||
/* Start status timer for client. */
|
||||
|
Reference in New Issue
Block a user