diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-18 14:08:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-18 14:08:39 +0000 |
commit | 8bd00cee8c4335f9598ef6e97a06736c925862a7 (patch) | |
tree | 657258e0b9f88de9a81dfda64dc6629f3a0d370b /src/transport/test_transport_api_blacklisting.c | |
parent | 060807231ea955a26c481700811dc265908a3138 (diff) | |
download | gnunet-8bd00cee8c4335f9598ef6e97a06736c925862a7.tar.gz gnunet-8bd00cee8c4335f9598ef6e97a06736c925862a7.zip |
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
Diffstat (limited to 'src/transport/test_transport_api_blacklisting.c')
-rw-r--r-- | src/transport/test_transport_api_blacklisting.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, | |||
367 | return res; | 367 | return res; |
368 | } | 368 | } |
369 | 369 | ||
370 | void | 370 | |
371 | static void | ||
371 | start_cb (struct PeerContext *p, void *cls) | 372 | start_cb (struct PeerContext *p, void *cls) |
372 | { | 373 | { |
373 | static int started; | 374 | static int started; |
@@ -392,6 +393,7 @@ start_cb (struct PeerContext *p, void *cls) | |||
392 | 393 | ||
393 | } | 394 | } |
394 | 395 | ||
396 | |||
395 | static void | 397 | static void |
396 | run (void *cls, char *const *args, const char *cfgfile, | 398 | run (void *cls, char *const *args, const char *cfgfile, |
397 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 399 | const struct GNUNET_CONFIGURATION_Handle *cfg) |