aboutsummaryrefslogtreecommitdiff
path: root/src/rps/test_rps.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/test_rps.c')
-rw-r--r--src/rps/test_rps.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c
index a107aa042..1ce174454 100644
--- a/src/rps/test_rps.c
+++ b/src/rps/test_rps.c
@@ -593,10 +593,11 @@ info_cb (void *cb_cls,
593 rps_peer_ids[entry->index] = *(pinfo->result.id); 593 rps_peer_ids[entry->index] = *(pinfo->result.id);
594 rps_peers[entry->index].peer_id = &rps_peer_ids[entry->index]; 594 rps_peers[entry->index].peer_id = &rps_peer_ids[entry->index];
595 595
596 GNUNET_CONTAINER_multipeermap_put (peer_map, 596 GNUNET_assert (GNUNET_OK ==
597 &rps_peer_ids[entry->index], 597 GNUNET_CONTAINER_multipeermap_put (peer_map,
598 &rps_peers[entry->index], 598 &rps_peer_ids[entry->index],
599 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY); 599 &rps_peers[entry->index],
600 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY));
600 tofile ("/tmp/rps/peer_ids", 601 tofile ("/tmp/rps/peer_ids",
601 "%u\t%s\n", 602 "%u\t%s\n",
602 entry->index, 603 entry->index,