aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_loop.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-19 11:47:52 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-19 11:47:52 +0100
commit68a4d901347bfa159adfe67e00f149e09800ea22 (patch)
tree9f966c9c1ea7f15954552d0832a7ef1414549735 /src/testing/testing_api_loop.c
parentbdaaa0f6cb8f99168ed9916064a5e4145426480c (diff)
downloadexchange-68a4d901347bfa159adfe67e00f149e09800ea22.tar.xz
-misc bugfixes
Diffstat (limited to 'src/testing/testing_api_loop.c')
-rw-r--r--src/testing/testing_api_loop.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index d8d32f6df..7a25bed64 100644
--- a/src/testing/testing_api_loop.c
+++ b/src/testing/testing_api_loop.c
@@ -389,9 +389,10 @@ maint_child_death (void *cls)
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Got the dead child process handle, waiting for termination ...\n");
- GNUNET_OS_process_wait_status (*processp,
- &type,
- &code);
+ GNUNET_assert (GNUNET_OK ==
+ GNUNET_OS_process_wait_status (*processp,
+ &type,
+ &code));
GNUNET_OS_process_destroy (*processp);
*processp = NULL;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,