aboutsummaryrefslogtreecommitdiff
path: root/src/rps/rps_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/rps_api.c')
-rw-r--r--src/rps/rps_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c
index f8406bd50..639476e9f 100644
--- a/src/rps/rps_api.c
+++ b/src/rps/rps_api.c
@@ -333,7 +333,7 @@ GNUNET_RPS_act_malicious (struct GNUNET_RPS_Handle *h,
333 /* The actual size the message occupies */ 333 /* The actual size the message occupies */
334 size_needed = sizeof (struct GNUNET_RPS_CS_SeedMessage) + 334 size_needed = sizeof (struct GNUNET_RPS_CS_SeedMessage) +
335 num_peers * sizeof (struct GNUNET_PeerIdentity); 335 num_peers * sizeof (struct GNUNET_PeerIdentity);
336 /* The number of peers that fits in one message together with 336 /* The number of peers that fit in one message together with
337 * the respective header */ 337 * the respective header */
338 num_peers_max = (GNUNET_SERVER_MAX_MESSAGE_SIZE - 338 num_peers_max = (GNUNET_SERVER_MAX_MESSAGE_SIZE -
339 sizeof (struct GNUNET_RPS_CS_SeedMessage)) / 339 sizeof (struct GNUNET_RPS_CS_SeedMessage)) /
@@ -365,7 +365,6 @@ GNUNET_RPS_act_malicious (struct GNUNET_RPS_Handle *h,
365 memcpy (&msg[1], tmp_peer_pointer, num_peers * sizeof (struct GNUNET_PeerIdentity)); 365 memcpy (&msg[1], tmp_peer_pointer, num_peers * sizeof (struct GNUNET_PeerIdentity));
366 366
367 GNUNET_MQ_send (h->mq, ev); 367 GNUNET_MQ_send (h->mq, ev);
368
369} 368}
370#endif /* ENABLE_MALICIOUS */ 369#endif /* ENABLE_MALICIOUS */
371 370