diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
commit | aa78134a557079ce570345e751e4c36c4b2ba79a (patch) | |
tree | f7bf25950513285184e2426109235337d0aef8be /src/testing | |
parent | 1f2674fe293be7c1a852fbe4a7241fbcb149078f (diff) | |
download | gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.tar.gz gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.zip |
-fix many more typos
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_api_cmd_hello_world_birth.c | 8 | ||||
-rw-r--r-- | src/testing/testing_api_loop.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/testing/testing_api_cmd_hello_world_birth.c b/src/testing/testing_api_cmd_hello_world_birth.c index 2a5bded92..9d60059a5 100644 --- a/src/testing/testing_api_cmd_hello_world_birth.c +++ b/src/testing/testing_api_cmd_hello_world_birth.c | |||
@@ -95,16 +95,16 @@ hello_world_birth_run (void *cls, | |||
95 | struct GNUNET_TESTING_Interpreter *is) | 95 | struct GNUNET_TESTING_Interpreter *is) |
96 | { | 96 | { |
97 | struct HelloWorldBirthState *hbs = cls; | 97 | struct HelloWorldBirthState *hbs = cls; |
98 | struct GNUNET_TIME_Relative relativ; | 98 | struct GNUNET_TIME_Relative relative; |
99 | 99 | ||
100 | relativ = GNUNET_TIME_absolute_get_difference (*hbs->date, | 100 | relative = GNUNET_TIME_absolute_get_difference (*hbs->date, |
101 | GNUNET_TIME_absolute_get ()); | 101 | GNUNET_TIME_absolute_get ()); |
102 | 102 | ||
103 | if (0 == relativ.rel_value_us % 10) | 103 | if (0 == relative.rel_value_us % 10) |
104 | { | 104 | { |
105 | hbs->what_am_i = "creature!"; | 105 | hbs->what_am_i = "creature!"; |
106 | } | 106 | } |
107 | else if (0 == relativ.rel_value_us % 2) | 107 | else if (0 == relative.rel_value_us % 2) |
108 | { | 108 | { |
109 | hbs->what_am_i = "girl!"; | 109 | hbs->what_am_i = "girl!"; |
110 | } | 110 | } |
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c index dbd86ba90..1b50b9ff5 100644 --- a/src/testing/testing_api_loop.c +++ b/src/testing/testing_api_loop.c | |||
@@ -220,7 +220,7 @@ run_finish_task_sync (void *cls) | |||
220 | - sync_state->start_finish_time.abs_value_us) | 220 | - sync_state->start_finish_time.abs_value_us) |
221 | { | 221 | { |
222 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 222 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
223 | "The command with label %s did not finish its asyncronous task in time.\n", | 223 | "The command with label %s did not finish its asynchronous task in time.\n", |
224 | cmd->label); | 224 | cmd->label); |
225 | is->result = GNUNET_SYSERR; | 225 | is->result = GNUNET_SYSERR; |
226 | GNUNET_SCHEDULER_shutdown (); | 226 | GNUNET_SCHEDULER_shutdown (); |