else /* If we have sent requests, choose peers with a low number of connections to send requests from */
{
peer_count = GNUNET_CONTAINER_heap_remove_root(find_peer_ctx->peer_min_heap);
- GNUNET_CONTAINER_multihashmap_remove(find_peer_ctx->peer_hash, &peer_count->peer_id.hashPubKey, peer_count);
+ GNUNET_assert(GNUNET_YES == GNUNET_CONTAINER_multihashmap_remove(find_peer_ctx->peer_hash, &peer_count->peer_id.hashPubKey, peer_count));
test_find_peer->daemon = GNUNET_TESTING_daemon_get_by_id(pg, &peer_count->peer_id);
GNUNET_assert(test_find_peer->daemon != NULL);
}
&num_peers))
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- "Number of peers must be specified in section %s option %s\n", topology_str, "TESTING", "NUM_PEERS");
+ "Number of peers must be specified in section %s option %s\n", "TESTING", "NUM_PEERS");
}
GNUNET_assert(num_peers > 0 && num_peers < ULONG_MAX);
/* Set peers_left so we know when all peers started */
}
GNUNET_assert(GNUNET_CONTAINER_multihashmap_contains(all_known_peers, &peer->id.hashPubKey));
- GNUNET_CONTAINER_multihashmap_remove (all_known_peers, &peer->id.hashPubKey, peer);
+ GNUNET_assert(GNUNET_YES == GNUNET_CONTAINER_multihashmap_remove (all_known_peers, &peer->id.hashPubKey, peer));
GNUNET_free(peer);
}
outfile_path,
"mysqldump_nodes",
getpid());
-
+ GNUNET_free(fn);
fn = GNUNET_STRINGS_filename_expand (outfile_name);
if (fn == NULL)
"mysqldump_routes",
getpid());
+ GNUNET_free(fn);
fn = GNUNET_STRINGS_filename_expand (outfile_name);
if (fn == NULL)
"mysqldump_queries",
getpid());
+ GNUNET_free(fn);
fn = GNUNET_STRINGS_filename_expand (outfile_name);
if (fn == NULL)
"mysqldump_stats",
getpid());
+ GNUNET_free(fn);
fn = GNUNET_STRINGS_filename_expand (outfile_name);
if (fn == NULL)
outfile_path,
"mysqldump_generic_stats",
getpid());
-
+ GNUNET_free(fn);
fn = GNUNET_STRINGS_filename_expand (outfile_name);
if (fn == NULL)
outfile_path,
"mysqldump_dhtkey",
getpid());
-
+ GNUNET_free(fn);
fn = GNUNET_STRINGS_filename_expand (outfile_name);
if (fn == NULL)
outfile_path,
"mysqldump_extended_topology",
getpid());
-
+ GNUNET_free(fn);
fn = GNUNET_STRINGS_filename_expand (outfile_name);
if (fn == NULL)