mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-09 21:57:37 +02:00
Use client pointer not file descriptor in logging.
This commit is contained in:
@ -64,7 +64,7 @@ server_write_client(struct client *c, enum msgtype type, const void *buf,
|
||||
|
||||
if (c->flags & CLIENT_BAD)
|
||||
return (-1);
|
||||
log_debug("writing %d to client %d", type, c->ibuf.fd);
|
||||
log_debug("writing %d to client %p", type, c);
|
||||
error = imsg_compose(ibuf, type, PROTOCOL_VERSION, -1, -1,
|
||||
(void *) buf, len);
|
||||
if (error == 1)
|
||||
|
Reference in New Issue
Block a user