diff options
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; |