/**
* @file testbed/gnunet-daemon-testbed-blacklist.c
* @brief daemon to restrict incoming connections from other peers at the
- * transport layer of a peer
- * @author Sree Harsha Totakura <sreeharsha@totakura.in>
+ * transport layer of a peer
+ * @author Sree Harsha Totakura <sreeharsha@totakura.in>
*/
#include "platform.h"
check_access (void *cls, const struct GNUNET_PeerIdentity * pid)
{
int contains;
-
+
if (NULL != map)
contains = GNUNET_CONTAINER_multipeermap_contains (map, pid);
else
uint64_t fsize;
unsigned int npeers;
unsigned int cnt;
-
+
GNUNET_assert (GNUNET_OK != GNUNET_DISK_file_size (fname, &fsize, GNUNET_NO,
GNUNET_YES));
if (0 != (fsize % sizeof (struct GNUNET_PeerIdentity)))