[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/02: indentation fixes
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/02: indentation fixes |
Date: |
Fri, 27 Jan 2017 21:50:27 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 0fb9f54b31e618aa2e73d29996bdd7d26b948cda
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Jan 27 21:46:13 2017 +0100
indentation fixes
---
src/cadet/gnunet-service-cadet-new_channel.c | 1 -
src/cadet/test_cadet.c | 5 +++--
src/testbed/testbed_api_test.c | 18 ++++++++++--------
3 files changed, 13 insertions(+), 11 deletions(-)
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]);
--
To stop receiving notification emails like this one, please contact
address@hidden