summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_unix.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-03-28 12:42:39 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-03-28 12:42:39 +0000
commite806c9794b23600f3b50ec0aefb9e300a4b98810 (patch)
tree31ce839c24f335fbe041c161bfb30e99d28ed168 /src/transport/plugin_transport_unix.c
parent8b570f0b07ba98e61a2523a4a3be768ba2ad22b5 (diff)
fixing crash in unix
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r--src/transport/plugin_transport_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c
index 036096f6d..e48606f8f 100644
--- a/src/transport/plugin_transport_unix.c
+++ b/src/transport/plugin_transport_unix.c
@@ -880,6 +880,7 @@ unix_plugin_get_session (void *cls,
s = GNUNET_new (struct Session);
s->target = address->peer;
s->address = GNUNET_HELLO_address_copy (address);
+ s->plugin = plugin;
GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == s->timeout_task);
s->timeout_task = GNUNET_SCHEDULER_add_delayed (GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT,
&session_timeout,