aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-cmds-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/gnunet-cmds-helper.c')
-rw-r--r--src/testbed/gnunet-cmds-helper.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/testbed/gnunet-cmds-helper.c b/src/testbed/gnunet-cmds-helper.c
index 6498d1279..41d6c06b8 100644
--- a/src/testbed/gnunet-cmds-helper.c
+++ b/src/testbed/gnunet-cmds-helper.c
@@ -283,8 +283,6 @@ shutdown_task (void *cls)
283} 283}
284 284
285 285
286
287
288/** 286/**
289 * Task to write to the standard out 287 * Task to write to the standard out
290 * 288 *
@@ -551,10 +549,10 @@ tokenizer_cb (void *cls, const struct GNUNET_MessageHeader *message)
551 } 549 }
552 550
553 551
554 error: 552error:
555 status = GNUNET_SYSERR; 553 status = GNUNET_SYSERR;
556 LOG (GNUNET_ERROR_TYPE_ERROR, 554 LOG (GNUNET_ERROR_TYPE_ERROR,
557 "tokenizer shuting down!\n"); 555 "tokenizer shutting down!\n");
558 GNUNET_SCHEDULER_shutdown (); 556 GNUNET_SCHEDULER_shutdown ();
559 return GNUNET_SYSERR; 557 return GNUNET_SYSERR;
560} 558}
@@ -577,7 +575,7 @@ read_task (void *cls)
577 { 575 {
578 LOG_DEBUG ("STDIN closed\n"); 576 LOG_DEBUG ("STDIN closed\n");
579 LOG (GNUNET_ERROR_TYPE_ERROR, 577 LOG (GNUNET_ERROR_TYPE_ERROR,
580 "tokenizer shuting down during reading!\n"); 578 "tokenizer shutting down during reading!\n");
581 GNUNET_SCHEDULER_shutdown (); 579 GNUNET_SCHEDULER_shutdown ();
582 return; 580 return;
583 } 581 }
@@ -586,7 +584,7 @@ read_task (void *cls)
586 /* didn't expect any more data! */ 584 /* didn't expect any more data! */
587 GNUNET_break_op (0); 585 GNUNET_break_op (0);
588 LOG (GNUNET_ERROR_TYPE_ERROR, 586 LOG (GNUNET_ERROR_TYPE_ERROR,
589 "tokenizer shuting down during reading, didn't expect any more data!\n"); 587 "tokenizer shutting down during reading, didn't expect any more data!\n");
590 GNUNET_SCHEDULER_shutdown (); 588 GNUNET_SCHEDULER_shutdown ();
591 return; 589 return;
592 } 590 }
@@ -600,7 +598,7 @@ read_task (void *cls)
600 { 598 {
601 GNUNET_break (0); 599 GNUNET_break (0);
602 LOG (GNUNET_ERROR_TYPE_ERROR, 600 LOG (GNUNET_ERROR_TYPE_ERROR,
603 "tokenizer shuting down during reading, writing to buffer failed!\n"); 601 "tokenizer shutting down during reading, writing to buffer failed!\n");
604 GNUNET_SCHEDULER_shutdown (); 602 GNUNET_SCHEDULER_shutdown ();
605 return; 603 return;
606 } 604 }