aboutsummaryrefslogtreecommitdiff
path: root/src/testing/gnunet-testing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/gnunet-testing.c')
-rw-r--r--src/testing/gnunet-testing.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testing/gnunet-testing.c b/src/testing/gnunet-testing.c
index 37d6f9888..1cec948a2 100644
--- a/src/testing/gnunet-testing.c
+++ b/src/testing/gnunet-testing.c
@@ -197,7 +197,7 @@ create_hostkeys (const unsigned int no)
197 * Removes the temporary file. 197 * Removes the temporary file.
198 * 198 *
199 * @param cls unused 199 * @param cls unused
200 * @param tc scheduler context 200 * @param tc scheduler context
201 */ 201 */
202static void 202static void
203cleanup (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 203cleanup (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -221,10 +221,10 @@ cleanup (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
221 221
222 222
223/** 223/**
224 * Called whenever we can read stdin non-blocking 224 * Called whenever we can read stdin non-blocking
225 * 225 *
226 * @param cls unused 226 * @param cls unused
227 * @param tc scheduler context 227 * @param tc scheduler context
228 */ 228 */
229static void 229static void
230stdin_cb (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 230stdin_cb (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -259,7 +259,7 @@ stdin_cb (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
259 break; 259 break;
260 } 260 }
261 tid = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, fh, 261 tid = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, fh,
262 &stdin_cb, NULL); 262 &stdin_cb, NULL);
263} 263}
264 264
265 265
@@ -282,7 +282,7 @@ testing_main (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg,
282 GNUNET_SCHEDULER_shutdown (); 282 GNUNET_SCHEDULER_shutdown ();
283 return; 283 return;
284 } 284 }
285 if (GNUNET_SYSERR == 285 if (GNUNET_SYSERR ==
286 GNUNET_CONFIGURATION_write ((struct GNUNET_CONFIGURATION_Handle *) cfg, 286 GNUNET_CONFIGURATION_write ((struct GNUNET_CONFIGURATION_Handle *) cfg,
287 tmpfilename)) 287 tmpfilename))
288 { 288 {
@@ -322,7 +322,7 @@ run_no_scheduler (void *cls, char *const *args, const char *cfgfile,
322 { 322 {
323 if (create_no > 0) 323 if (create_no > 0)
324 { 324 {
325 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 325 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
326 "Creating %u configuration files based on template `%s'\n", create_no, create_cfg_template); 326 "Creating %u configuration files based on template `%s'\n", create_no, create_cfg_template);
327 ret = create_unique_cfgs (create_cfg_template, create_no); 327 ret = create_unique_cfgs (create_cfg_template, create_no);
328 } 328 }