diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-11-22 19:06:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-11-22 19:06:54 +0000 |
commit | 12586cd08b2d8f797ef1a63501def72d5c875cf8 (patch) | |
tree | 8eb8cf55b8f6f5b5d3150df3d885d5b58cc3f0fb /src/util/test_resolver_api.c | |
parent | 02f21c08e22a6b04030b4eb990fa5046e79e00b3 (diff) | |
download | gnunet-12586cd08b2d8f797ef1a63501def72d5c875cf8.tar.gz gnunet-12586cd08b2d8f797ef1a63501def72d5c875cf8.zip |
fixes
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 |