aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-17 18:13:55 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-17 18:13:55 +0100
commit17d34d5e094c2f8a90717b07e3a711d6e2c15903 (patch)
tree777b5323145a5f4d1f044da29a682799008a11d4 /src/peerinfo
parent3391977e3f92a2ebcafc14ea6374aecd580df873 (diff)
downloadgnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.tar.gz
gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.zip
more renamings relating to 'new' service now just being the 'normal' service
Diffstat (limited to 'src/peerinfo')
-rw-r--r--src/peerinfo/gnunet-service-peerinfo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c
index bc4a2a10d..731c24bf1 100644
--- a/src/peerinfo/gnunet-service-peerinfo.c
+++ b/src/peerinfo/gnunet-service-peerinfo.c
@@ -283,7 +283,7 @@ read_host_file (const char *fn,
283 int unlink_garbage, 283 int unlink_garbage,
284 struct ReadHostFileContext *r) 284 struct ReadHostFileContext *r)
285{ 285{
286 char buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE - 1] GNUNET_ALIGN; 286 char buffer[GNUNET_MAX_MESSAGE_SIZE - 1] GNUNET_ALIGN;
287 ssize_t size_total; 287 ssize_t size_total;
288 struct GNUNET_TIME_Absolute now; 288 struct GNUNET_TIME_Absolute now;
289 unsigned int left; 289 unsigned int left;
@@ -919,7 +919,7 @@ add_to_tc (void *cls,
919 { 919 {
920 /* Copy public HELLO */ 920 /* Copy public HELLO */
921 hs = GNUNET_HELLO_size (pos->hello); 921 hs = GNUNET_HELLO_size (pos->hello);
922 GNUNET_assert (hs < GNUNET_SERVER_MAX_MESSAGE_SIZE - 922 GNUNET_assert (hs < GNUNET_MAX_MESSAGE_SIZE -
923 sizeof (struct InfoMessage)); 923 sizeof (struct InfoMessage));
924 env = GNUNET_MQ_msg_extra (im, 924 env = GNUNET_MQ_msg_extra (im,
925 hs, 925 hs,
@@ -937,7 +937,7 @@ add_to_tc (void *cls,
937 { 937 {
938 /* Copy friend only HELLO */ 938 /* Copy friend only HELLO */
939 hs = GNUNET_HELLO_size (pos->friend_only_hello); 939 hs = GNUNET_HELLO_size (pos->friend_only_hello);
940 GNUNET_assert (hs < GNUNET_SERVER_MAX_MESSAGE_SIZE - 940 GNUNET_assert (hs < GNUNET_MAX_MESSAGE_SIZE -
941 sizeof (struct InfoMessage)); 941 sizeof (struct InfoMessage));
942 env = GNUNET_MQ_msg_extra (im, 942 env = GNUNET_MQ_msg_extra (im,
943 hs, 943 hs,
@@ -977,7 +977,7 @@ discard_hosts_helper (void *cls,
977 const char *fn) 977 const char *fn)
978{ 978{
979 struct GNUNET_TIME_Absolute *now = cls; 979 struct GNUNET_TIME_Absolute *now = cls;
980 char buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE - 1] GNUNET_ALIGN; 980 char buffer[GNUNET_MAX_MESSAGE_SIZE - 1] GNUNET_ALIGN;
981 const struct GNUNET_HELLO_Message *hello; 981 const struct GNUNET_HELLO_Message *hello;
982 struct GNUNET_HELLO_Message *new_hello; 982 struct GNUNET_HELLO_Message *new_hello;
983 int read_size; 983 int read_size;