[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix #4957
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix #4957 |
Date: |
Fri, 17 Mar 2017 20:00:44 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 646964ac6 fix #4957
646964ac6 is described below
commit 646964ac643b33c6b0fd71bb41023ca654104f4c
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 17 20:00:42 2017 +0100
fix #4957
---
src/testbed/test_gnunet_helper_testbed.c | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/src/testbed/test_gnunet_helper_testbed.c
b/src/testbed/test_gnunet_helper_testbed.c
index 7a2dce8a5..7ba9e7c31 100644
--- a/src/testbed/test_gnunet_helper_testbed.c
+++ b/src/testbed/test_gnunet_helper_testbed.c
@@ -121,10 +121,12 @@ do_abort (void *cls)
* #GNUNET_SYSERR during GNUNET_HELPER_stop()
*/
static void
-cont_cb (void *cls, int result)
+cont_cb (void *cls,
+ int result)
{
shandle = NULL;
- LOG (GNUNET_ERROR_TYPE_DEBUG, "Message sent\n");
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Message sent\n");
GNUNET_assert (GNUNET_OK == result);
}
@@ -138,11 +140,11 @@ cont_cb (void *cls, int result)
* @param cls closure
* @param client identification of the client
* @param message the actual message
- *
* @return #GNUNET_OK on success, #GNUNET_SYSERR to stop further processing
*/
static int
-mst_cb (void *cls, void *client, const struct GNUNET_MessageHeader *message)
+mst_cb (void *cls,
+ const struct GNUNET_MessageHeader *message)
{
const struct GNUNET_TESTBED_HelperReply *msg;
char *config;
@@ -207,8 +209,12 @@ run (void *cls, char *const *args, const char *cfgfile,
const char *trusted_ip = "127.0.0.1";
helper =
- GNUNET_HELPER_start (GNUNET_YES, "gnunet-helper-testbed", binary_argv,
- &mst_cb, &exp_cb, NULL);
+ GNUNET_HELPER_start (GNUNET_YES,
+ "gnunet-helper-testbed",
+ binary_argv,
+ &mst_cb,
+ &exp_cb,
+ NULL);
GNUNET_assert (NULL != helper);
cfg = GNUNET_CONFIGURATION_dup (cfg2);
msg = GNUNET_TESTBED_create_helper_init_msg_ (trusted_ip, NULL, cfg);
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: fix #4957,
gnunet <=