From 8bd00cee8c4335f9598ef6e97a06736c925862a7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 18 Feb 2015 14:08:39 +0000 Subject: fix blacklist checking logic, integrating tracking of sessions with blacklist module and fixing dangling session issue which caused misc. problems when blacklists were in use --- src/transport/test_transport_api_blacklisting.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/transport/test_transport_api_blacklisting.c') diff --git a/src/transport/test_transport_api_blacklisting.c b/src/transport/test_transport_api_blacklisting.c index 7338dabe7..601ab27f1 100644 --- a/src/transport/test_transport_api_blacklisting.c +++ b/src/transport/test_transport_api_blacklisting.c @@ -367,7 +367,8 @@ blacklist_cb (void *cls, return res; } -void + +static void start_cb (struct PeerContext *p, void *cls) { static int started; @@ -392,6 +393,7 @@ start_cb (struct PeerContext *p, void *cls) } + static void run (void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg) -- cgit v1.2.3