diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-09 10:35:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-09 10:35:22 +0000 |
commit | 3aeef85a0511f6d33e90b8c6434289b2cac337a4 (patch) | |
tree | 4f1f11a352371386d615e7bad7744a33d2be87af /src/util/client.c | |
parent | 7b29d40b75fd60ce5e0b86694499627dc9c63022 (diff) | |
download | gnunet-3aeef85a0511f6d33e90b8c6434289b2cac337a4.tar.gz gnunet-3aeef85a0511f6d33e90b8c6434289b2cac337a4.zip |
-use get_value_filename with UNIXPATH to get himBHexpansion
Diffstat (limited to 'src/util/client.c')
-rw-r--r-- | src/util/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/client.c b/src/util/client.c index 5b753ec74..0e8804158 100644 --- a/src/util/client.c +++ b/src/util/client.c | |||
@@ -251,7 +251,7 @@ try_unixpath (const char *service_name, | |||
251 | struct sockaddr_un s_un; | 251 | struct sockaddr_un s_un; |
252 | 252 | ||
253 | unixpath = NULL; | 253 | unixpath = NULL; |
254 | if ((GNUNET_OK == GNUNET_CONFIGURATION_get_value_string (cfg, service_name, "UNIXPATH", &unixpath)) && | 254 | if ((GNUNET_OK == GNUNET_CONFIGURATION_get_value_filename (cfg, service_name, "UNIXPATH", &unixpath)) && |
255 | (0 < strlen (unixpath))) | 255 | (0 < strlen (unixpath))) |
256 | { | 256 | { |
257 | /* We have a non-NULL unixpath, need to validate it */ | 257 | /* We have a non-NULL unixpath, need to validate it */ |
@@ -299,7 +299,7 @@ test_service_configuration (const char *service_name, | |||
299 | #if AF_UNIX | 299 | #if AF_UNIX |
300 | char *unixpath = NULL; | 300 | char *unixpath = NULL; |
301 | 301 | ||
302 | if ((GNUNET_OK == GNUNET_CONFIGURATION_get_value_string (cfg, service_name, "UNIXPATH", &unixpath)) && | 302 | if ((GNUNET_OK == GNUNET_CONFIGURATION_get_value_filename (cfg, service_name, "UNIXPATH", &unixpath)) && |
303 | (0 < strlen (unixpath))) | 303 | (0 < strlen (unixpath))) |
304 | ret = GNUNET_OK; | 304 | ret = GNUNET_OK; |
305 | GNUNET_free_non_null (unixpath); | 305 | GNUNET_free_non_null (unixpath); |
@@ -726,7 +726,7 @@ service_test_report (struct GNUNET_CLIENT_TestHandle *th, | |||
726 | { | 726 | { |
727 | th->result = result; | 727 | th->result = result; |
728 | th->task = GNUNET_SCHEDULER_add_now (&report_result, | 728 | th->task = GNUNET_SCHEDULER_add_now (&report_result, |
729 | th); | 729 | th); |
730 | } | 730 | } |
731 | 731 | ||
732 | 732 | ||