[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: errors
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: errors |
Date: |
Thu, 14 Jan 2021 15:28:42 +0100 |
This is an automated email from the git hooks/post-receive script.
ds-meister pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 3626b51 errors
3626b51 is described below
commit 3626b511ceed0489ecb1677a7c769a7a0dafdf5e
Author: Dominik Meister <dominik.meister@hotmail.ch>
AuthorDate: Thu Jan 14 15:28:37 2021 +0100
errors
---
src/util/test_anastasis_child_management.c | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/src/util/test_anastasis_child_management.c
b/src/util/test_anastasis_child_management.c
index d239069..5ba9421 100644
--- a/src/util/test_anastasis_child_management.c
+++ b/src/util/test_anastasis_child_management.c
@@ -27,20 +27,16 @@
#include <gnunet/gnunet_util_lib.h>
#include "anastasis_util_lib.h"
-static int done;
-
void
-childCompletedCallback (void *cls,
- enum GNUNET_OS_ProcessStatusType type,
- long unsigned int exit_code)
+childCompletedCallback(void *cls,
+ enum GNUNET_OS_ProcessStatusType type,
+ long unsigned int exit_code)
{
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,"%lu",exit_code);
- done = 1;
+ GNUNET_log(GNUNET_ERROR_TYPE_DEBUG,"%lu",exit_code);
}
-
static int
-test_child_management ()
+test_child_management()
{
int p[2];
int ret = pipe (p);
@@ -48,14 +44,14 @@ test_child_management ()
char *command = "child_management_test.sh";
switch (pid)
{
- case -1:
+ case -1:
close (p[0]);
close (p[1]);
return 2;
case 0:
dup2 (p[0],0);
close (p[1]);
- execlp (command,"1234","41764941294", NULL);
+ execlp (command,"1234","1111111111", NULL);
close (p[0]);
close (p[1]);
struct ANASTASIS_ChildWaitHandle *cwh;
@@ -71,7 +67,6 @@ test_child_management ()
return 0;
}
-
int
main (int argc,
const char *const argv[])
@@ -79,7 +74,6 @@ main (int argc,
if (0 != test_child_management ())
return 1;
GNUNET_log_setup (argv[0], "DEBUG", NULL);
- return 0;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: errors,
gnunet <=