summaryrefslogtreecommitdiff
path: root/src/util/client.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-20 16:38:37 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-20 16:38:37 +0000
commit863e2904baf1c0a64360d9890edfe5b35d72a979 (patch)
tree8db6dc6905c991df86aaec6cb5bcbf544b33fa01 /src/util/client.c
parent37e614f321caf2fddab72c4055e35d1b360bfd59 (diff)
downloadgnunet-863e2904baf1c0a64360d9890edfe5b35d72a979.tar.gz
gnunet-863e2904baf1c0a64360d9890edfe5b35d72a979.zip
-handle NULL in unixpath
Diffstat (limited to 'src/util/client.c')
-rw-r--r--src/util/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/client.c b/src/util/client.c
index 6c5e93ce4..30c80bf03 100644
--- a/src/util/client.c
+++ b/src/util/client.c
@@ -263,6 +263,8 @@ try_unixpath (const char *service_name,
263 unixpath = GNUNET_NETWORK_shorten_unixpath (unixpath); 263 unixpath = GNUNET_NETWORK_shorten_unixpath (unixpath);
264 LOG (GNUNET_ERROR_TYPE_INFO, 264 LOG (GNUNET_ERROR_TYPE_INFO,
265 _("Using `%s' instead\n"), unixpath); 265 _("Using `%s' instead\n"), unixpath);
266 if (NULL == unixpath)
267 return NULL;
266 } 268 }
267 connection = GNUNET_CONNECTION_create_from_connect_to_unixpath (cfg, unixpath); 269 connection = GNUNET_CONNECTION_create_from_connect_to_unixpath (cfg, unixpath);
268 if (NULL != connection) 270 if (NULL != connection)