diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
commit | 17d34d5e094c2f8a90717b07e3a711d6e2c15903 (patch) | |
tree | 777b5323145a5f4d1f044da29a682799008a11d4 /src/transport/transport_api_address_to_string.c | |
parent | 3391977e3f92a2ebcafc14ea6374aecd580df873 (diff) | |
download | gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.tar.gz gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.zip |
more renamings relating to 'new' service now just being the 'normal' service
Diffstat (limited to 'src/transport/transport_api_address_to_string.c')
-rw-r--r-- | src/transport/transport_api_address_to_string.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/transport_api_address_to_string.c b/src/transport/transport_api_address_to_string.c index b9c72dcb3..902764a8f 100644 --- a/src/transport/transport_api_address_to_string.c +++ b/src/transport/transport_api_address_to_string.c | |||
@@ -199,10 +199,10 @@ GNUNET_TRANSPORT_address_to_string (const struct GNUNET_CONFIGURATION_Handle *cf | |||
199 | 199 | ||
200 | alen = address->address_length; | 200 | alen = address->address_length; |
201 | slen = strlen (address->transport_name) + 1; | 201 | slen = strlen (address->transport_name) + 1; |
202 | if ( (alen + slen >= GNUNET_SERVER_MAX_MESSAGE_SIZE | 202 | if ( (alen + slen >= GNUNET_MAX_MESSAGE_SIZE |
203 | - sizeof (struct AddressLookupMessage)) || | 203 | - sizeof (struct AddressLookupMessage)) || |
204 | (alen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) || | 204 | (alen >= GNUNET_MAX_MESSAGE_SIZE) || |
205 | (slen >= GNUNET_SERVER_MAX_MESSAGE_SIZE) ) | 205 | (slen >= GNUNET_MAX_MESSAGE_SIZE) ) |
206 | { | 206 | { |
207 | GNUNET_break (0); | 207 | GNUNET_break (0); |
208 | GNUNET_free (alc); | 208 | GNUNET_free (alc); |