aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/websockets.c2
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;