diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-04 20:33:33 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-04 20:33:33 -0800 |
commit | 83fa6b5ca739d3afc4abdf3d602e0f08e0e25307 (patch) | |
tree | 57e17a82feb590c6ead58bc2deb97f03758b28e0 /tests | |
parent | 27841ea86c6be6f96a2ab777a19d00686c551ed9 (diff) |
fix test_websockets_partial
Diffstat (limited to 'tests')
-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 |