diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-18 16:22:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-18 16:22:14 +0000 |
commit | fb12af8319a84389a536ab2f3735daf3b24f11bd (patch) | |
tree | 53e1424149fe8e7d5673e783868fcaa8a6bdbb55 /src/transport | |
parent | d19064a18f3fcf35c94d7f56485e41fb3425d066 (diff) |
-use const in peerstore callback
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/plugin_transport_http_common.c | 4 |
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 947b64bef7..acccf39f80 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; |