From 17d34d5e094c2f8a90717b07e3a711d6e2c15903 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Mar 2017 18:13:55 +0100 Subject: more renamings relating to 'new' service now just being the 'normal' service --- src/rps/rps_api.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/rps/rps_api.c') diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c index 504f28b92..ccd480086 100644 --- a/src/rps/rps_api.c +++ b/src/rps/rps_api.c @@ -389,12 +389,12 @@ GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, n * sizeof (struct GNUNET_PeerIdentity); /* The number of peers that fits in one message together with * the respective header */ - num_peers_max = (GNUNET_SERVER_MAX_MESSAGE_SIZE - + num_peers_max = (GNUNET_MAX_MESSAGE_SIZE - sizeof (struct GNUNET_RPS_CS_SeedMessage)) / sizeof (struct GNUNET_PeerIdentity); tmp_peer_pointer = ids; - while (GNUNET_SERVER_MAX_MESSAGE_SIZE < size_needed) + while (GNUNET_MAX_MESSAGE_SIZE < size_needed) { ev = GNUNET_MQ_msg_extra (msg, num_peers_max * sizeof (struct GNUNET_PeerIdentity), GNUNET_MESSAGE_TYPE_RPS_CS_SEED); @@ -463,12 +463,12 @@ GNUNET_RPS_act_malicious (struct GNUNET_RPS_Handle *h, num_peers * sizeof (struct GNUNET_PeerIdentity); /* The number of peers that fit in one message together with * the respective header */ - num_peers_max = (GNUNET_SERVER_MAX_MESSAGE_SIZE - + num_peers_max = (GNUNET_MAX_MESSAGE_SIZE - sizeof (struct GNUNET_RPS_CS_SeedMessage)) / sizeof (struct GNUNET_PeerIdentity); tmp_peer_pointer = peer_ids; - while (GNUNET_SERVER_MAX_MESSAGE_SIZE < size_needed) + while (GNUNET_MAX_MESSAGE_SIZE < size_needed) { LOG (GNUNET_ERROR_TYPE_DEBUG, "Too many peers to send at once, sending %" PRIu32 " (all we can so far)\n", -- cgit v1.2.3