From fb12af8319a84389a536ab2f3735daf3b24f11bd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 18 Dec 2014 16:22:14 +0000 Subject: -use const in peerstore callback --- src/transport/plugin_transport_http_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/transport/plugin_transport_http_common.c') diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c index 947b64bef..acccf39f8 100644 --- a/src/transport/plugin_transport_http_common.c +++ b/src/transport/plugin_transport_http_common.c @@ -432,8 +432,8 @@ http_common_plugin_address_pretty_printer (void *cls, const char *type, saddr = NULL; sock_addr = NULL; - if ((addrlen < sizeof(struct HttpAddress)) - || (addrlen != http_common_address_get_size (address))) + if ( (addrlen < sizeof(struct HttpAddress)) || + (addrlen != http_common_address_get_size (address)) ) { GNUNET_break(0); goto handle_error; -- cgit v1.2.3