aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-18 13:51:40 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-18 13:51:45 +0200
commit3a8004330c4b0f11cf51b22aada57a9c6160b513 (patch)
treedede63d352666f237e820123c33449a3d1b44ffa
parentc892ac24758e34a109db15df17fdf38e27ac7de3 (diff)
downloadgnunet-3a8004330c4b0f11cf51b22aada57a9c6160b513.tar.gz
gnunet-3a8004330c4b0f11cf51b22aada57a9c6160b513.zip
-fix typos
-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 693892a9c..70db6c509 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 *
@@ -548,10 +546,10 @@ tokenizer_cb (void *cls, const struct GNUNET_MessageHeader *message)
548 } 546 }
549 547
550 548
551 error: 549error:
552 status = GNUNET_SYSERR; 550 status = GNUNET_SYSERR;
553 LOG (GNUNET_ERROR_TYPE_ERROR, 551 LOG (GNUNET_ERROR_TYPE_ERROR,
554 "tokenizer shuting down!\n"); 552 "tokenizer shutting down!\n");
555 GNUNET_SCHEDULER_shutdown (); 553 GNUNET_SCHEDULER_shutdown ();
556 return GNUNET_SYSERR; 554 return GNUNET_SYSERR;
557} 555}
@@ -574,7 +572,7 @@ read_task (void *cls)
574 { 572 {
575 LOG_DEBUG ("STDIN closed\n"); 573 LOG_DEBUG ("STDIN closed\n");
576 LOG (GNUNET_ERROR_TYPE_ERROR, 574 LOG (GNUNET_ERROR_TYPE_ERROR,
577 "tokenizer shuting down during reading!\n"); 575 "tokenizer shutting down during reading!\n");
578 GNUNET_SCHEDULER_shutdown (); 576 GNUNET_SCHEDULER_shutdown ();
579 return; 577 return;
580 } 578 }
@@ -583,7 +581,7 @@ read_task (void *cls)
583 /* didn't expect any more data! */ 581 /* didn't expect any more data! */
584 GNUNET_break_op (0); 582 GNUNET_break_op (0);
585 LOG (GNUNET_ERROR_TYPE_ERROR, 583 LOG (GNUNET_ERROR_TYPE_ERROR,
586 "tokenizer shuting down during reading, didn't expect any more data!\n"); 584 "tokenizer shutting down during reading, didn't expect any more data!\n");
587 GNUNET_SCHEDULER_shutdown (); 585 GNUNET_SCHEDULER_shutdown ();
588 return; 586 return;
589 } 587 }
@@ -595,7 +593,7 @@ read_task (void *cls)
595 { 593 {
596 GNUNET_break (0); 594 GNUNET_break (0);
597 LOG (GNUNET_ERROR_TYPE_ERROR, 595 LOG (GNUNET_ERROR_TYPE_ERROR,
598 "tokenizer shuting down during reading, writing to buffer failed!\n"); 596 "tokenizer shutting down during reading, writing to buffer failed!\n");
599 GNUNET_SCHEDULER_shutdown (); 597 GNUNET_SCHEDULER_shutdown ();
600 return; 598 return;
601 } 599 }