stuff
[oweals/gnunet.git] / src / transport / gnunet-service-transport_blacklist.c
index 623f8c3f26b095f608e6e3c500d53f01bb11edb6..b51f5144260d3429487e0ace4f7b1e3c7c96a6d1 100644 (file)
@@ -25,6 +25,7 @@
  */
 #include "platform.h"
 #include "gnunet_protocols.h"
+#include "gnunet_util_lib.h"
 #include "gnunet_service_lib.h"
 #include "transport.h"
 #include "gnunet-service-transport_blacklist.h"
@@ -183,6 +184,11 @@ GNUNET_TRANSPORT_handle_blacklist_notify (void *cls,
                                          struct GNUNET_SERVER_Client *client,
                                          const struct GNUNET_MessageHeader *message)
 {
+  struct BlacklistNotificationList *bnl;
+
+  bnl = GNUNET_malloc (sizeof (struct BlacklistNotificationList));
+  bnl->next = blacklist_notifiers;
+  blacklist_notifiers = bnl;
   /* FIXME */
   GNUNET_SERVER_receive_done (client, GNUNET_OK);
 }