diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-05-14 13:04:48 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-05-14 13:04:48 +0000 |
commit | 5a8c980e27163987553d4754dddb7902bcfd0f92 (patch) | |
tree | 5564dde7eb761240ce09ef395684349c039ae2d7 /src/stream/test_stream_2peers_halfclose.c | |
parent | de04b35683a87227231220d06d89d692a93f9308 (diff) | |
download | gnunet-5a8c980e27163987553d4754dddb7902bcfd0f92.tar.gz gnunet-5a8c980e27163987553d4754dddb7902bcfd0f92.zip |
warnings
Diffstat (limited to 'src/stream/test_stream_2peers_halfclose.c')
-rw-r--r-- | src/stream/test_stream_2peers_halfclose.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream/test_stream_2peers_halfclose.c b/src/stream/test_stream_2peers_halfclose.c index 227fbd313..f001dddc6 100644 --- a/src/stream/test_stream_2peers_halfclose.c +++ b/src/stream/test_stream_2peers_halfclose.c | |||
@@ -338,6 +338,8 @@ shutdown_completion (void *cls, | |||
338 | case PEER1_WRITE: | 338 | case PEER1_WRITE: |
339 | GNUNET_assert (0); | 339 | GNUNET_assert (0); |
340 | case PEER1_WRITE_SHUTDOWN: | 340 | case PEER1_WRITE_SHUTDOWN: |
341 | GNUNET_assert (cls == &peer1); | ||
342 | GNUNET_assert (SHUT_WR == operation); | ||
341 | peer1.test_ok = GNUNET_YES; | 343 | peer1.test_ok = GNUNET_YES; |
342 | /* Peer2 should read with error */ | 344 | /* Peer2 should read with error */ |
343 | peer2.bytes_read = 0; | 345 | peer2.bytes_read = 0; |