[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26859 - gnunet-ext/src/ext
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26859 - gnunet-ext/src/ext |
Date: |
Fri, 12 Apr 2013 13:35:15 +0200 |
Author: wachs
Date: 2013-04-12 13:35:15 +0200 (Fri, 12 Apr 2013)
New Revision: 26859
Modified:
gnunet-ext/src/ext/test_ext_api.c
Log:
fix(fix)
Modified: gnunet-ext/src/ext/test_ext_api.c
===================================================================
--- gnunet-ext/src/ext/test_ext_api.c 2013-04-12 11:12:59 UTC (rev 26858)
+++ gnunet-ext/src/ext/test_ext_api.c 2013-04-12 11:35:15 UTC (rev 26859)
@@ -47,11 +47,18 @@
GNUNET_GETOPT_OPTION_END
};
struct GNUNET_OS_Process *proc;
-
+ char *path = GNUNET_OS_get_libexec_binary_path ( "gnunet-service-ext");
+ if (NULL == path)
+ {
+ fprintf (stderr, "Service executable not found `%s'\n",
"gnunet-service-ext");
+ return;
+ }
proc = GNUNET_OS_start_process (GNUNET_NO, GNUNET_OS_INHERIT_STD_ALL, NULL,
NULL,
- GNUNET_OS_get_libexec_binary_path (
"gnunet-service-ext"),
+ path,
"gnunet-service-ext",
NULL);
+
+ GNUNET_free (path);
GNUNET_assert (NULL != proc);
GNUNET_PROGRAM_run (1, argv, "test-ext-api", "nohelp",
options, &run, &ok);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26859 - gnunet-ext/src/ext,
gnunet <=