-doxygen
[oweals/gnunet.git] / src / transport / transport_api_blacklist.c
index be52623bb6e42501e0b56fbaf799250e8558786d..dcd1ae78180683ccca1e4d46e95bc41a552c9828 100644 (file)
  * @author Christian Grothoff
  */
 #include "platform.h"
-#include "gnunet_client_lib.h"
+#include "gnunet_util_lib.h"
 #include "gnunet_arm_service.h"
 #include "gnunet_hello_lib.h"
 #include "gnunet_protocols.h"
-#include "gnunet_server_lib.h"
-#include "gnunet_time_lib.h"
 #include "gnunet_transport_service.h"
 #include "transport.h"
 
@@ -168,7 +166,7 @@ static void
 reconnect (struct GNUNET_TRANSPORT_Blacklist *br)
 {
   if (br->client != NULL)
-    GNUNET_CLIENT_disconnect (br->client, GNUNET_NO);
+    GNUNET_CLIENT_disconnect (br->client);
   br->client = GNUNET_CLIENT_connect ("transport", br->cfg);
   GNUNET_assert (br->client != NULL);
   br->th =
@@ -288,7 +286,7 @@ GNUNET_TRANSPORT_blacklist_cancel (struct GNUNET_TRANSPORT_Blacklist *br)
     GNUNET_CLIENT_notify_transmit_ready_cancel (br->th);
     br->th = NULL;
   }
-  GNUNET_CLIENT_disconnect (br->client, GNUNET_NO);
+  GNUNET_CLIENT_disconnect (br->client);
   GNUNET_free (br);
 }