aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-14 11:45:00 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-14 11:45:00 +0000
commit4202f00bca8935153d69b531c8df4bad227f3f66 (patch)
treed6fd58f8cf0d078f2360dd19d03bf551561d7b11 /src/testing
parent265a7c5f1b656d4e27647ac05fa91f7dd2ae8542 (diff)
downloadgnunet-4202f00bca8935153d69b531c8df4bad227f3f66.tar.gz
gnunet-4202f00bca8935153d69b531c8df4bad227f3f66.zip
-typos
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/gnunet-testing-run-service.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/gnunet-testing-run-service.c b/src/testing/gnunet-testing-run-service.c
index fa98e1a6c..38351d75e 100644
--- a/src/testing/gnunet-testing-run-service.c
+++ b/src/testing/gnunet-testing-run-service.c
@@ -135,7 +135,7 @@ stdin_cb (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
135 fprintf (stderr, _("Unknown command, use 'q' to quit or 'r' to restart peer\n")); 135 fprintf (stderr, _("Unknown command, use 'q' to quit or 'r' to restart peer\n"));
136 break; 136 break;
137 } 137 }
138 tid = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, &fh, &stdin_cb, NULL); 138 tid = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, fh, &stdin_cb, NULL);
139} 139}
140 140
141 141
@@ -155,7 +155,7 @@ testing_main (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg,
155 if (NULL == (tmpfilename = GNUNET_DISK_mktemp ("gnunet-testing"))) 155 if (NULL == (tmpfilename = GNUNET_DISK_mktemp ("gnunet-testing")))
156 { 156 {
157 GNUNET_break (0); 157 GNUNET_break (0);
158 cleanup (); 158 GNUNET_SCHEDULER_shutdown ();
159 return; 159 return;
160 } 160 }
161 if (GNUNET_SYSERR == 161 if (GNUNET_SYSERR ==
@@ -166,9 +166,9 @@ testing_main (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg,
166 } 166 }
167 printf("%s\n", tmpfilename); 167 printf("%s\n", tmpfilename);
168 fflush(stdout); 168 fflush(stdout);
169 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREFER_REL, &cleanup); 169 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &cleanup, NULL);
170 fh = GNUNET_DISK_get_handle_from_native (stdin); 170 fh = GNUNET_DISK_get_handle_from_native (stdin);
171 tid = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, &fh, &stdin_cb, NULL); 171 tid = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, fh, &stdin_cb, NULL);
172} 172}
173 173
174 174