aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_unix.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-09-13 13:05:00 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-09-13 13:05:00 +0000
commit72abdde791c17d1568216e72f442568a1965b2e4 (patch)
tree415b818a9fb8111920ce2f667e00fd0196c570ea /src/transport/plugin_transport_unix.c
parent1edbe24ccba730fa0deeb3dd410164579d6eb3be (diff)
downloadgnunet-72abdde791c17d1568216e72f442568a1965b2e4.tar.gz
gnunet-72abdde791c17d1568216e72f442568a1965b2e4.zip
- minor changes
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r--src/transport/plugin_transport_unix.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c
index e8de46cf1..290640636 100644
--- a/src/transport/plugin_transport_unix.c
+++ b/src/transport/plugin_transport_unix.c
@@ -761,10 +761,10 @@ unix_plugin_send (void *cls,
761 761
762 return GNUNET_SYSERR; 762 return GNUNET_SYSERR;
763 } 763 }
764 LOG (GNUNET_ERROR_TYPE_ERROR, "Sending %u bytes with session for peer `%s' `%s'\n", 764 LOG (GNUNET_ERROR_TYPE_DEBUG, "Sending %u bytes with session for peer `%s' `%s'\n",
765 msgbuf_size, 765 msgbuf_size,
766 GNUNET_i2s (&session->target), 766 GNUNET_i2s (&session->target),
767 (char *) session->addr); 767 (char *) session->addr);
768 768
769 ssize = sizeof (struct UNIXMessage) + msgbuf_size; 769 ssize = sizeof (struct UNIXMessage) + msgbuf_size;
770 message = GNUNET_malloc (sizeof (struct UNIXMessage) + msgbuf_size); 770 message = GNUNET_malloc (sizeof (struct UNIXMessage) + msgbuf_size);
@@ -1077,8 +1077,7 @@ unix_transport_server_start (void *cls)
1077 plugin->unix_sock.desc = NULL; 1077 plugin->unix_sock.desc = NULL;
1078 return GNUNET_SYSERR; 1078 return GNUNET_SYSERR;
1079 } 1079 }
1080 LOG (GNUNET_ERROR_TYPE_DEBUG, "Bound to `%s'\n", 1080 LOG (GNUNET_ERROR_TYPE_DEBUG, "Bound to `%s'\n", plugin->unix_socket_path);
1081 &un.sun_path[0]);
1082 plugin->rs = GNUNET_NETWORK_fdset_create (); 1081 plugin->rs = GNUNET_NETWORK_fdset_create ();
1083 plugin->ws = GNUNET_NETWORK_fdset_create (); 1082 plugin->ws = GNUNET_NETWORK_fdset_create ();
1084 GNUNET_NETWORK_fdset_zero (plugin->rs); 1083 GNUNET_NETWORK_fdset_zero (plugin->rs);