gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r22579 - gnunet-ext/src/ext


From: gnunet
Subject: [GNUnet-SVN] r22579 - gnunet-ext/src/ext
Date: Mon, 9 Jul 2012 21:07:42 +0200

Author: grothoff
Date: 2012-07-09 21:07:42 +0200 (Mon, 09 Jul 2012)
New Revision: 22579

Modified:
   gnunet-ext/src/ext/test_ext_api.c
Log:
-update to new API

Modified: gnunet-ext/src/ext/test_ext_api.c
===================================================================
--- gnunet-ext/src/ext/test_ext_api.c   2012-07-09 19:04:19 UTC (rev 22578)
+++ gnunet-ext/src/ext/test_ext_api.c   2012-07-09 19:07:42 UTC (rev 22579)
@@ -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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]