mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-11 16:38:47 +01:00
Log when cmdq_continue is called.
This commit is contained in:
parent
232a0ffc34
commit
c1d0b6a6ee
@ -195,6 +195,7 @@ cmdq_continue_one(struct cmd_q *cmdq)
|
|||||||
int
|
int
|
||||||
cmdq_continue(struct cmd_q *cmdq)
|
cmdq_continue(struct cmd_q *cmdq)
|
||||||
{
|
{
|
||||||
|
struct client *c = cmdq->client;
|
||||||
struct cmd_q_item *next;
|
struct cmd_q_item *next;
|
||||||
enum cmd_retval retval;
|
enum cmd_retval retval;
|
||||||
int empty;
|
int empty;
|
||||||
@ -202,6 +203,9 @@ cmdq_continue(struct cmd_q *cmdq)
|
|||||||
cmdq->references++;
|
cmdq->references++;
|
||||||
notify_disable();
|
notify_disable();
|
||||||
|
|
||||||
|
log_debug("continuing cmdq %p: flags=%#x, client=%d", cmdq, cmdq->flags,
|
||||||
|
c != NULL ? c->ibuf.fd : -1);
|
||||||
|
|
||||||
empty = TAILQ_EMPTY(&cmdq->queue);
|
empty = TAILQ_EMPTY(&cmdq->queue);
|
||||||
if (empty)
|
if (empty)
|
||||||
goto empty;
|
goto empty;
|
||||||
|
Loading…
Reference in New Issue
Block a user