[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -minor debugging
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -minor debugging |
Date: |
Fri, 09 Dec 2022 16:25:44 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new d4f9e18c6 -minor debugging
d4f9e18c6 is described below
commit d4f9e18c6b93143f14b953c3d4fb8cc9c70cd9fd
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Sat Dec 10 00:25:37 2022 +0900
-minor debugging
---
src/testing/testing_api_loop.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index dac4e5deb..e8680fc13 100644
--- a/src/testing/testing_api_loop.c
+++ b/src/testing/testing_api_loop.c
@@ -25,6 +25,7 @@
* @author Marcello Stanisci (GNU Taler testing)
* @author t3sserakt
*/
+#include "gnunet_common.h"
#include "platform.h"
#include "gnunet_util_lib.h"
#include "gnunet_testing_ng_lib.h"
@@ -507,6 +508,7 @@ GNUNET_TESTING_run (const struct GNUNET_TESTING_Command
*commands,
for (i = 0; NULL != commands[i].run; i++)
;
is->cmds_n = i + 1;
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got %u commands\n", i);
is->commands = GNUNET_new_array (is->cmds_n,
struct GNUNET_TESTING_Command);
memcpy (is->commands,
@@ -537,7 +539,7 @@ GNUNET_TESTING_command_new (void *cls,
.cleanup = cleanup,
.traits = traits
};
- memset (&cmd, 0, sizeof (cmd));
+ memset (&cmd.label, 0, sizeof (cmd.label));
if (NULL != label)
strncpy (cmd.label, label, GNUNET_TESTING_CMD_MAX_LABEL_LENGTH);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -minor debugging,
gnunet <=