Skip to content

Commit

Permalink
Yet one more minor bug in tcpmuxd fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
  • Loading branch information
sustrik committed Nov 21, 2014
1 parent 46d735b commit 6dcecf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/devices/tcpmuxd.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ static void nn_tcpmuxd_routine (void *arg)
}
ctx->pfd [ctx->pfd_size - 1].fd = conn;
ctx->pfd [ctx->pfd_size - 1].events = 0;
ctx->pfd [ctx->pfd_size - 1].revents = 0;

/* Read the connection header. */
ssz = recv (conn, buf, 2, 0);
Expand Down

0 comments on commit 6dcecf3

Please sign in to comment.