diff options
Diffstat (limited to 'src/testbed/gnunet-daemon-testbed-blacklist.c')
-rw-r--r-- | src/testbed/gnunet-daemon-testbed-blacklist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testbed/gnunet-daemon-testbed-blacklist.c b/src/testbed/gnunet-daemon-testbed-blacklist.c index d14944362..6be43999c 100644 --- a/src/testbed/gnunet-daemon-testbed-blacklist.c +++ b/src/testbed/gnunet-daemon-testbed-blacklist.c | |||
@@ -22,8 +22,8 @@ | |||
22 | /** | 22 | /** |
23 | * @file testbed/gnunet-daemon-testbed-blacklist.c | 23 | * @file testbed/gnunet-daemon-testbed-blacklist.c |
24 | * @brief daemon to restrict incoming connections from other peers at the | 24 | * @brief daemon to restrict incoming connections from other peers at the |
25 | * transport layer of a peer | 25 | * transport layer of a peer |
26 | * @author Sree Harsha Totakura <sreeharsha@totakura.in> | 26 | * @author Sree Harsha Totakura <sreeharsha@totakura.in> |
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "platform.h" | 29 | #include "platform.h" |
@@ -143,7 +143,7 @@ static int | |||
143 | check_access (void *cls, const struct GNUNET_PeerIdentity * pid) | 143 | check_access (void *cls, const struct GNUNET_PeerIdentity * pid) |
144 | { | 144 | { |
145 | int contains; | 145 | int contains; |
146 | 146 | ||
147 | if (NULL != map) | 147 | if (NULL != map) |
148 | contains = GNUNET_CONTAINER_multipeermap_contains (map, pid); | 148 | contains = GNUNET_CONTAINER_multipeermap_contains (map, pid); |
149 | else | 149 | else |
@@ -167,7 +167,7 @@ setup_ac (const char *fname, const struct GNUNET_CONFIGURATION_Handle *cfg) | |||
167 | uint64_t fsize; | 167 | uint64_t fsize; |
168 | unsigned int npeers; | 168 | unsigned int npeers; |
169 | unsigned int cnt; | 169 | unsigned int cnt; |
170 | 170 | ||
171 | GNUNET_assert (GNUNET_OK != GNUNET_DISK_file_size (fname, &fsize, GNUNET_NO, | 171 | GNUNET_assert (GNUNET_OK != GNUNET_DISK_file_size (fname, &fsize, GNUNET_NO, |
172 | GNUNET_YES)); | 172 | GNUNET_YES)); |
173 | if (0 != (fsize % sizeof (struct GNUNET_PeerIdentity))) | 173 | if (0 != (fsize % sizeof (struct GNUNET_PeerIdentity))) |