summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_unix.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-09-01 08:21:52 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-09-01 08:21:52 +0000
commit48529094fd68b612d38616bbf2e16fd022ba8a72 (patch)
tree272f76962eab409270024e2dde8aecb9a4413b9f /src/transport/plugin_transport_unix.c
parent6e0e7e09552af05a229cad2686d73e2d2ca18925 (diff)
remove PORT related information from unix
add unix perf cfgs
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r--src/transport/plugin_transport_unix.c11
1 files changed, 3 insertions, 8 deletions
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);