(no commit message)
[oweals/gnunet.git] / src / transport / transport_api_blacklist.c
index 82deadb92db0eeb74d57a3624fc84c8e6c2a3440..1025edef46af5b3edc2ca9d17639c158cab9f346 100644 (file)
@@ -4,7 +4,7 @@
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
-     by the Free Software Foundation; either version 2, or (at your
+     by the Free Software Foundation; either version 3, or (at your
      option) any later version.
 
      GNUnet is distributed in the hope that it will be useful, but
@@ -56,7 +56,7 @@ struct GNUNET_TRANSPORT_Blacklist
 
   /**
    * Pending handle for the current request.
-   */ 
+   */
   struct GNUNET_CLIENT_TransmitHandle *th;
 
   /**
@@ -68,7 +68,7 @@ struct GNUNET_TRANSPORT_Blacklist
   /**
    * Closure for 'cb'.
    */
-  void *cb_cls;  
+  void *cb_cls;
 
   /**
    * Peer currently under consideration.
@@ -108,7 +108,7 @@ query_handler (void *cls,
 {
   struct GNUNET_TRANSPORT_Blacklist *br = cls;
   const struct BlacklistMessage *bm;
-  
+
   if ( (ntohs(msg->size) != sizeof (struct BlacklistMessage)) ||
        (ntohs(msg->type) != GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_QUERY) )
     {
@@ -118,7 +118,7 @@ query_handler (void *cls,
   bm = (const struct BlacklistMessage *)msg;
   GNUNET_break (0 == ntohl (bm->is_allowed));
   br->peer = bm->peer;
-  reply (br);  
+  reply (br);
 }
 
 
@@ -276,7 +276,7 @@ GNUNET_TRANSPORT_blacklist (struct GNUNET_SCHEDULER_Handle *sched,
                                                 GNUNET_TIME_UNIT_FOREVER_REL,
                                                 GNUNET_YES,
                                                 &transmit_blacklist_init,
-                                                ret);  
+                                                ret);
   return ret;
 }