aboutsummaryrefslogtreecommitdiff
path: root/src/util/service.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-11-22 09:20:22 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-11-22 09:20:22 +0000
commitf1252a5b29869c7641c348514fe16d913b2d26ea (patch)
tree69e4466dfd1edc77e80f7d29fd376b173ec3574a /src/util/service.c
parent04a52fec55d934e5a863cc9e860db9387f78a3b5 (diff)
downloadgnunet-f1252a5b29869c7641c348514fe16d913b2d26ea.tar.gz
gnunet-f1252a5b29869c7641c348514fe16d913b2d26ea.zip
Returns now GNUNET_SYSERR
Diffstat (limited to 'src/util/service.c')
-rw-r--r--src/util/service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/service.c b/src/util/service.c
index 79b21e065..25a9b08dc 100644
--- a/src/util/service.c
+++ b/src/util/service.c
@@ -872,8 +872,10 @@ GNUNET_SERVICE_get_server_addresses (const char *serviceName,
872 { 872 {
873 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 873 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
874 _("UNIXPATH `%s' too long, maximum length is %llu\n"),unixpath, sizeof(s_un.sun_path)); 874 _("UNIXPATH `%s' too long, maximum length is %llu\n"),unixpath, sizeof(s_un.sun_path));
875 GNUNET_free_non_null (hostname);
876 GNUNET_free (unixpath);
877 return GNUNET_SYSERR;
875 } 878 }
876 /* FIXME: Perhaps add an assertion or a break??? */
877 879
878 desc = GNUNET_NETWORK_socket_create (AF_UNIX, SOCK_STREAM, 0); 880 desc = GNUNET_NETWORK_socket_create (AF_UNIX, SOCK_STREAM, 0);
879 if (NULL == desc) 881 if (NULL == desc)