summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-18 16:22:14 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-18 16:22:14 +0000
commitfb12af8319a84389a536ab2f3735daf3b24f11bd (patch)
tree53e1424149fe8e7d5673e783868fcaa8a6bdbb55 /src/transport/plugin_transport_http_common.c
parentd19064a18f3fcf35c94d7f56485e41fb3425d066 (diff)
-use const in peerstore callback
Diffstat (limited to 'src/transport/plugin_transport_http_common.c')
-rw-r--r--src/transport/plugin_transport_http_common.c4
1 files changed, 2 insertions, 2 deletions
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;