From 12586cd08b2d8f797ef1a63501def72d5c875cf8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 22 Nov 2009 19:06:54 +0000 Subject: fixes --- src/util/test_resolver_api.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/util/test_resolver_api.c') diff --git a/src/util/test_resolver_api.c b/src/util/test_resolver_api.c index f49d7a79a..7cef33e60 100644 --- a/src/util/test_resolver_api.c +++ b/src/util/test_resolver_api.c @@ -159,6 +159,7 @@ check () { int ok = 1 + 2 + 4 + 8; char *fn; + char *pfx; pid_t pid; char *const argv[] = { "test-resolver-api", "-c", @@ -171,9 +172,11 @@ check () struct GNUNET_GETOPT_CommandLineOption options[] = { GNUNET_GETOPT_OPTION_END }; + pfx = GNUNET_OS_installation_get_path(GNUNET_OS_IPK_BINDIR); GNUNET_asprintf(&fn, "%s%cgnunet-service-resolver", - GNUNET_OS_installation_get_path(GNUNET_OS_IPK_BINDIR), + pfx, DIR_SEPARATOR); + GNUNET_free (pfx); pid = GNUNET_OS_start_process (fn, "gnunet-service-resolver", #if VERBOSE -- cgit v1.2.3