aboutsummaryrefslogtreecommitdiff
path: root/src/stream/test_stream_big.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/test_stream_big.c')
-rw-r--r--src/stream/test_stream_big.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/stream/test_stream_big.c b/src/stream/test_stream_big.c
index 001c4f67e..3fd10a1c3 100644
--- a/src/stream/test_stream_big.c
+++ b/src/stream/test_stream_big.c
@@ -164,9 +164,9 @@ write_completion (void *cls,
164 } 164 }
165 else 165 else
166 { 166 {
167 LOG (GNUNET_ERROR_TYPE_DEBUG, 167 LOG (GNUNET_ERROR_TYPE_DEBUG, "Writing successfully finished\n");
168 "Finished writing the data; waiting for the other peer to finish" 168 result = GNUNET_OK;
169 "reading"); 169 GNUNET_SCHEDULER_add_now (&do_shutdown, NULL);
170 } 170 }
171} 171}
172 172
@@ -271,8 +271,7 @@ input_processor (void *cls,
271 else 271 else
272 { 272 {
273 /* Peer2 has completed reading*/ 273 /* Peer2 has completed reading*/
274 result = GNUNET_OK; 274 LOG (GNUNET_ERROR_TYPE_DEBUG, "Reading finished successfully\n");
275 GNUNET_SCHEDULER_add_now (&do_shutdown, NULL);
276 } 275 }
277 return size; 276 return size;
278} 277}