diff options
Diffstat (limited to 'src/util/test_resolver_api.c')
-rw-r--r-- | src/util/test_resolver_api.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 () | |||
159 | { | 159 | { |
160 | int ok = 1 + 2 + 4 + 8; | 160 | int ok = 1 + 2 + 4 + 8; |
161 | char *fn; | 161 | char *fn; |
162 | char *pfx; | ||
162 | pid_t pid; | 163 | pid_t pid; |
163 | char *const argv[] = { "test-resolver-api", | 164 | char *const argv[] = { "test-resolver-api", |
164 | "-c", | 165 | "-c", |
@@ -171,9 +172,11 @@ check () | |||
171 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 172 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
172 | GNUNET_GETOPT_OPTION_END | 173 | GNUNET_GETOPT_OPTION_END |
173 | }; | 174 | }; |
175 | pfx = GNUNET_OS_installation_get_path(GNUNET_OS_IPK_BINDIR); | ||
174 | GNUNET_asprintf(&fn, "%s%cgnunet-service-resolver", | 176 | GNUNET_asprintf(&fn, "%s%cgnunet-service-resolver", |
175 | GNUNET_OS_installation_get_path(GNUNET_OS_IPK_BINDIR), | 177 | pfx, |
176 | DIR_SEPARATOR); | 178 | DIR_SEPARATOR); |
179 | GNUNET_free (pfx); | ||
177 | pid = GNUNET_OS_start_process (fn, | 180 | pid = GNUNET_OS_start_process (fn, |
178 | "gnunet-service-resolver", | 181 | "gnunet-service-resolver", |
179 | #if VERBOSE | 182 | #if VERBOSE |