summaryrefslogtreecommitdiff
path: root/src/transport/transport_api_blacklist.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-02-01 13:26:01 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-02-01 13:26:01 +0000
commit53e8a4a55381c9a2b085925b155fd485f3013c8d (patch)
tree56a72d901f62249a2ede9898ca71cbb70715c9aa /src/transport/transport_api_blacklist.c
parent9a6e5853d2e563ae4baf5e90fccec267a1e1fe0b (diff)
fix segfault: api never saved callback and callback_cls
Diffstat (limited to 'src/transport/transport_api_blacklist.c')
-rw-r--r--src/transport/transport_api_blacklist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/transport_api_blacklist.c b/src/transport/transport_api_blacklist.c
index d6387b144..b3fc79def 100644
--- a/src/transport/transport_api_blacklist.c
+++ b/src/transport/transport_api_blacklist.c
@@ -255,6 +255,8 @@ GNUNET_TRANSPORT_blacklist (const struct GNUNET_CONFIGURATION_Handle *cfg,
ret = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_Blacklist));
ret->client = client;
ret->cfg = cfg;
+ ret->cb = cb;
+ ret->cb_cls = cb_cls;
ret->th =
GNUNET_CLIENT_notify_transmit_ready (client,
sizeof (struct GNUNET_MessageHeader),