diff options
Diffstat (limited to 'src/transport/plugin_transport_http_common.c')
-rw-r--r-- | src/transport/plugin_transport_http_common.c | 2 |
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); |