From 48529094fd68b612d38616bbf2e16fd022ba8a72 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 1 Sep 2014 08:21:52 +0000 Subject: remove PORT related information from unix add unix perf cfgs --- src/transport/plugin_transport_unix.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/transport/plugin_transport_unix.c') diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 947ec5d71..8a0aa72a0 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c @@ -243,13 +243,6 @@ struct UNIX_Sock_Info * The network handle */ struct GNUNET_NETWORK_Handle *desc; - - /** - * The port we bound to (not an actual PORT, as UNIX domain sockets - * don't have ports, but rather a number in the path name to make this - * one unique). - */ - uint16_t port; }; @@ -300,7 +293,7 @@ struct Plugin struct UNIXMessageWrapper *msg_tail; /** - * Path of our unix domain socket (/tmp/unix-plugin-PORT) + * Path of our unix domain socket (/tmp/unix-plugin) */ char *unix_socket_path; @@ -1420,6 +1413,8 @@ unix_transport_server_start (void *cls) (const struct sockaddr *) un, un_len)) { GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, "bind"); + LOG (GNUNET_ERROR_TYPE_ERROR, _("Cannot bind to `%s'\n"), + un->sun_path); GNUNET_NETWORK_socket_close (plugin->unix_sock.desc); plugin->unix_sock.desc = NULL; GNUNET_free (un); -- cgit v1.2.3