aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-07-19 12:33:54 +0000
committerNathan S. Evans <evans@in.tum.de>2011-07-19 12:33:54 +0000
commit6dd89084db8b837018c0af6590b065639b00bad4 (patch)
tree1c3607e8a2cf0a1e939a03454273446be54b138c /src
parentda0ab8ae833d3421d6b8f804e6732240151658c8 (diff)
downloadgnunet-6dd89084db8b837018c0af6590b065639b00bad4.tar.gz
gnunet-6dd89084db8b837018c0af6590b065639b00bad4.zip
coverity fix
Diffstat (limited to 'src')
-rw-r--r--src/testing/testing_group.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c
index 27b3b2cad..a48f628c9 100644
--- a/src/testing/testing_group.c
+++ b/src/testing/testing_group.c
@@ -2424,6 +2424,7 @@ unblacklist_iterator (void *cls,
2424 } 2424 }
2425#endif 2425#endif
2426 2426
2427#if !OLD
2427/** 2428/**
2428 * Create a blacklist topology based on the allowed topology 2429 * Create a blacklist topology based on the allowed topology
2429 * which disallows any connections not in the allowed topology 2430 * which disallows any connections not in the allowed topology
@@ -2437,8 +2438,8 @@ unblacklist_iterator (void *cls,
2437 * 2438 *
2438 */ 2439 */
2439static unsigned int 2440static unsigned int
2440copy_allowed(struct GNUNET_TESTING_PeerGroup *pg, 2441copy_allowed (struct GNUNET_TESTING_PeerGroup *pg,
2441 GNUNET_TESTING_ConnectionProcessor proc) 2442 GNUNET_TESTING_ConnectionProcessor proc)
2442{ 2443{
2443 unsigned int count; 2444 unsigned int count;
2444 unsigned int total; 2445 unsigned int total;
@@ -2471,6 +2472,7 @@ copy_allowed(struct GNUNET_TESTING_PeerGroup *pg,
2471 total); 2472 total);
2472 return total; 2473 return total;
2473} 2474}
2475#endif
2474 2476
2475/** 2477/**
2476 * Create a topology given a peer group (set of running peers) 2478 * Create a topology given a peer group (set of running peers)