diff options
Diffstat (limited to 'tests/websockets_partial.c')
-rw-r--r-- | tests/websockets_partial.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/websockets_partial.c b/tests/websockets_partial.c index deacdb6b..f71160b7 100644 --- a/tests/websockets_partial.c +++ b/tests/websockets_partial.c @@ -46,6 +46,8 @@ void iter(void *arg) { packetLength = buffer[0]; n = recv(SocketFD, buffer, packetLength, 0); + printf("got %d,%d\n", n, packetLength); + if (n != packetLength) { fprintf(stderr, "lost packet data, expected: %d readed: %d", packetLength, n); exit(EXIT_FAILURE); @@ -66,6 +68,7 @@ void iter(void *arg) { done = 1; #if EMSCRIPTEN + printf("sum: %d\n", sum); int result = sum; REPORT_RESULT(); #endif |