From 6ba62d11c72bd9ca900d6d817e90df6672836bd5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 9 Jul 2012 19:07:42 +0000 Subject: -update to new API --- src/ext/test_ext_api.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ext/test_ext_api.c b/src/ext/test_ext_api.c index aaa1064..fd2a15d 100644 --- a/src/ext/test_ext_api.c +++ b/src/ext/test_ext_api.c @@ -26,26 +26,29 @@ #include "gnunet_ext_service.h" +static int ok = 1; + + static void run (void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg) { + ok = 0; } static int check () { - int ok = 1; char *const argv[] = { "test-ext-api", NULL }; struct GNUNET_GETOPT_CommandLineOption options[] = { GNUNET_GETOPT_OPTION_END }; struct GNUNET_OS_Process *proc; - proc = GNUNET_OS_start_process (GNUNET_NO, NULL, NULL, + proc = GNUNET_OS_start_process (GNUNET_NO, GNUNET_OS_INHERIT_STD_ALL, NULL, NULL, "gnunet-service-ext", "gnunet-service-ext", NULL); -- cgit v1.2.3