aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_common.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-10-16 10:20:32 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-10-16 10:20:32 +0200
commit09c3455b2c3dd01e52ac2dd9c62c41b3ebcf8028 (patch)
tree8a877f4c4c87a4fafc78b31735392b423360b5b8 /src/transport/plugin_transport_http_common.c
parent37b7ecf6fd4ac226dad911ef22a67a96d5ce514d (diff)
downloadgnunet-09c3455b2c3dd01e52ac2dd9c62c41b3ebcf8028.tar.gz
gnunet-09c3455b2c3dd01e52ac2dd9c62c41b3ebcf8028.zip
-fix more warnings
Diffstat (limited to 'src/transport/plugin_transport_http_common.c')
-rw-r--r--src/transport/plugin_transport_http_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c
index d81d6db9c..0e3778837 100644
--- a/src/transport/plugin_transport_http_common.c
+++ b/src/transport/plugin_transport_http_common.c
@@ -629,7 +629,7 @@ http_common_plugin_address_to_string (const char *plugin,
629 if (addr_str[ntohl (address->urlen) - 1] != '\0') 629 if (addr_str[ntohl (address->urlen) - 1] != '\0')
630 return NULL; 630 return NULL;
631 GNUNET_asprintf (&res, "%s.%u.%s", plugin, ntohl (address->options), 631 GNUNET_asprintf (&res, "%s.%u.%s", plugin, ntohl (address->options),
632 &address[1]); 632 (char*)&address[1]);
633 if (strlen (res) + 1 < 500) 633 if (strlen (res) + 1 < 500)
634 { 634 {
635 GNUNET_memcpy (rbuf, res, strlen (res) + 1); 635 GNUNET_memcpy (rbuf, res, strlen (res) + 1);