From: Christian Grothoff Date: Fri, 27 Jan 2017 20:46:13 +0000 (+0100) Subject: indentation fixes X-Git-Tag: taler-0.2.1~271 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0fb9f54b31e618aa2e73d29996bdd7d26b948cda;p=oweals%2Fgnunet.git indentation fixes --- diff --git a/src/cadet/gnunet-service-cadet-new_channel.c b/src/cadet/gnunet-service-cadet-new_channel.c index f5e310cfc..ef1858c4b 100644 --- a/src/cadet/gnunet-service-cadet-new_channel.c +++ b/src/cadet/gnunet-service-cadet-new_channel.c @@ -1,4 +1,3 @@ - /* This file is part of GNUnet. Copyright (C) 2001-2017 GNUnet e.V. diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c index b8587d449..79d9423fd 100644 --- a/src/cadet/test_cadet.c +++ b/src/cadet/test_cadet.c @@ -820,8 +820,9 @@ incoming_channel (void *cls, else { GNUNET_log (GNUNET_ERROR_TYPE_WARNING, - "Incoming channel for unknown client %lu\n", (long) cls); - GNUNET_break(0); + "Incoming channel for unexpected peer #%lu\n", + (long) cls); + GNUNET_break (0); } if (NULL != disconnect_task) { diff --git a/src/testbed/testbed_api_test.c b/src/testbed/testbed_api_test.c index e64e9fe2d..559c4abd9 100644 --- a/src/testbed/testbed_api_test.c +++ b/src/testbed/testbed_api_test.c @@ -114,13 +114,16 @@ run (void *cls, char *const *args, const char *cfgfile, * handle of each peer * @param cc_cls closure for cc * @param test_master task to run once the test is ready - * @param test_master_cls closure for 'task'. - * @return GNUNET_SYSERR on error, GNUNET_OK on success + * @param test_master_cls closure for @a test_master + * @return #GNUNET_SYSERR on error, #GNUNET_OK on success */ int -GNUNET_TESTBED_test_run (const char *testname, const char *cfg_filename, - unsigned int num_peers, uint64_t event_mask, - GNUNET_TESTBED_ControllerCallback cc, void *cc_cls, +GNUNET_TESTBED_test_run (const char *testname, + const char *cfg_filename, + unsigned int num_peers, + uint64_t event_mask, + GNUNET_TESTBED_ControllerCallback cc, + void *cc_cls, GNUNET_TESTBED_TestMaster test_master, void *test_master_cls) { @@ -148,9 +151,8 @@ GNUNET_TESTBED_test_run (const char *testname, const char *cfg_filename, rc->event_mask = event_mask; rc->cc = cc; rc->cc_cls = cc_cls; - ret = - GNUNET_PROGRAM_run ((sizeof (argv2) / sizeof (char *)) - 1, argv2, - testname, "nohelp", options, &run, rc); + ret = GNUNET_PROGRAM_run ((sizeof (argv2) / sizeof (char *)) - 1, argv2, + testname, "nohelp", options, &run, rc); GNUNET_free (rc); GNUNET_free (argv2[0]); GNUNET_free (argv2[2]);