aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_group.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-07-19 12:28:55 +0000
committerNathan S. Evans <evans@in.tum.de>2011-07-19 12:28:55 +0000
commite18a99bf3cfaed5be44befabaff894ccc47c98f6 (patch)
treea175857c318e3b064dc05cf7bf16ab216f1697bb /src/testing/testing_group.c
parent50e7453045035b43f2a412e21f0cca2a5fd62b84 (diff)
downloadgnunet-e18a99bf3cfaed5be44befabaff894ccc47c98f6.tar.gz
gnunet-e18a99bf3cfaed5be44befabaff894ccc47c98f6.zip
coverity fix
Diffstat (limited to 'src/testing/testing_group.c')
-rw-r--r--src/testing/testing_group.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c
index 8bda28564..27b3b2cad 100644
--- a/src/testing/testing_group.c
+++ b/src/testing/testing_group.c
@@ -1308,6 +1308,10 @@ update_config(void *cls, const char *section, const char *option,
1308 % num_per_host); 1308 % num_per_host);
1309 value = cval; 1309 value = cval;
1310 } 1310 }
1311
1312 /* FIXME: REMOVE FOREVER HACK HACK HACK */
1313 if (0 == strcasecmp (section, "transport-tcp"))
1314 GNUNET_CONFIGURATION_set_value_string (ctx->ret, section, "ADVERTISED_PORT", value);
1311 } 1315 }
1312 1316
1313 if (0 == strcmp (option, "UNIXPATH")) 1317 if (0 == strcmp (option, "UNIXPATH"))
@@ -4100,17 +4104,6 @@ GNUNET_TESTING_create_topology(struct GNUNET_TESTING_PeerGroup *pg,
4100#endif 4104#endif
4101 unblacklisted_connections 4105 unblacklisted_connections
4102 = create_line (pg, &remove_connections, BLACKLIST); 4106 = create_line (pg, &remove_connections, BLACKLIST);
4103 break;
4104 case GNUNET_TESTING_TOPOLOGY_NONE: /* Fall through */
4105 case GNUNET_TESTING_TOPOLOGY_FROM_FILE:
4106#if VERBOSE_TESTING
4107 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
4108 _
4109 ("Creating no blacklist topology (all peers can connect at transport level)\n"));
4110#endif
4111 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, _
4112 ("Creating blacklist topology from allowed\n"));
4113 unblacklisted_connections = copy_allowed (pg, &remove_connections);
4114 default: 4107 default:
4115 break; 4108 break;
4116 } 4109 }