aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_hello_world_birth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_hello_world_birth.c')
-rw-r--r--src/testing/testing_api_cmd_hello_world_birth.c8
1 files changed, 4 insertions, 4 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 }