diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-21 14:53:07 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-21 14:53:07 -0700 |
commit | 5382cbaf1ebdc948f97533c8a2bfa6f9f23d875e (patch) | |
tree | e1be74e7665d3f47c4493baeafd01325cdc55dc8 /tests | |
parent | 62b07e91298336aefb3380f7e707d4f46865797d (diff) |
fix __errno_location
Diffstat (limited to 'tests')
-rw-r--r-- | tests/websockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/websockets.c b/tests/websockets.c index 8e719baa..8882f5ba 100644 --- a/tests/websockets.c +++ b/tests/websockets.c @@ -56,7 +56,7 @@ unsigned int get_all_buf(int sock, char* output, unsigned int maxsize) } if(n < 0 && errno != EAGAIN && errno != EWOULDBLOCK) { - fprintf(stderr, "error in get_all_buf!"); + fprintf(stderr, "error in get_all_buf! %d", errno); exit(EXIT_FAILURE); } return offset; |