Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed Aug 21, 2024
1 parent ddf02c7 commit a351298
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ static int read_protocol(struct conn *c)

static void conn_defer_cb(uv_timer_t *defer)
{
tracef("conn defer cb");
struct conn *c = defer->data;
void (*cb)(void *) = c->defer_cb;
void *arg = c->defer_arg;
Expand All @@ -310,6 +311,7 @@ static void conn_defer_cb(uv_timer_t *defer)

static void conn_defer(void (*cb)(void *arg), void *arg, void *data)
{
tracef("conn defer");
struct conn *c = data;
PRE(c->defer_cb == NULL);
PRE(c->defer_arg == NULL);
Expand Down

0 comments on commit a351298

Please sign in to comment.