commit 1820675603c69ce360c870abccd237bae16eacef
parent 93b8ee693f60477e77fc0ca16684d6e76155721b
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 17 Mar 2026 00:01:19 +0100
remove more legacy GNUNET_OS_process-API calls
Diffstat:
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/src/testing/test_merchant_api_twisted.c b/src/testing/test_merchant_api_twisted.c
@@ -108,12 +108,12 @@ static const char *merchant_url;
/**
* Twister process that proxies the exchange.
*/
-static struct GNUNET_OS_Process *twisterexchanged;
+static struct GNUNET_Process *twisterexchanged;
/**
* Twister process that proxies the merchant.
*/
-static struct GNUNET_OS_Process *twistermerchantd;
+static struct GNUNET_Process *twistermerchantd;
static struct TALER_FullPayto payer_payto;
static struct TALER_FullPayto exchange_payto;
@@ -422,12 +422,17 @@ run (void *cls,
* @param process process to purge.
*/
static void
-purge_process (struct GNUNET_OS_Process *process)
+purge_process (struct GNUNET_Process *process)
{
- GNUNET_OS_process_kill (process,
- SIGINT);
- GNUNET_OS_process_wait (process);
- GNUNET_OS_process_destroy (process);
+ GNUNET_break (GNUNET_OK ==
+ GNUNET_process_kill (process,
+ SIGINT));
+ GNUNET_break (GNUNET_OK ==
+ GNUNET_process_wait (process,
+ true,
+ NULL,
+ NULL));
+ GNUNET_process_destroy (process);
}