diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-10 16:52:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-10 16:52:56 +0000 |
commit | ed7e426ba0024940640f56fc5efad1058982e9c4 (patch) | |
tree | ed02522e3c904dd85a73155cd10c82deb87b0f2d /src/util | |
parent | ebdafc8a9fa3f05eaad9a283b346996c83419f13 (diff) | |
download | gnunet-ed7e426ba0024940640f56fc5efad1058982e9c4.tar.gz gnunet-ed7e426ba0024940640f56fc5efad1058982e9c4.zip |
fix error message when testing service and directory exists
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/client.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/util/client.c b/src/util/client.c index 3e7bbf9f8..1d1c94402 100644 --- a/src/util/client.c +++ b/src/util/client.c | |||
@@ -858,11 +858,9 @@ GNUNET_CLIENT_service_test (const char *service, | |||
858 | } | 858 | } |
859 | if (NULL != unixpath) | 859 | if (NULL != unixpath) |
860 | { | 860 | { |
861 | if (GNUNET_OK != | 861 | if (GNUNET_SYSERR == GNUNET_DISK_directory_create_for_file (unixpath)) |
862 | GNUNET_DISK_directory_create_for_file (unixpath)) | 862 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, |
863 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, | 863 | "mkdir", unixpath); |
864 | "mkdir", | ||
865 | unixpath); | ||
866 | sock = GNUNET_NETWORK_socket_create (PF_UNIX, SOCK_STREAM, 0); | 864 | sock = GNUNET_NETWORK_socket_create (PF_UNIX, SOCK_STREAM, 0); |
867 | if (NULL != sock) | 865 | if (NULL != sock) |
868 | { | 866 | { |