commit 1c24adeb028177ede38ca9ee5e789b88b4014a79
parent 2f50296dd6848542ee4a8dd046835be9341f190f
Author: Matthias Wachs <wachs@net.in.tum.de>
Date: Thu, 27 Jun 2013 15:29:10 +0000
printing fix
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c
@@ -1530,7 +1530,7 @@ http_client_plugin_get_session (void *cls,
{
GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name,
"Cannot connect to peer `%s' address `%s''\n",
- http_common_plugin_address_to_string (NULL, plugin->name, s->addr, s->addrlen),
+ http_common_plugin_address_to_string (NULL, plugin->protocol, s->addr, s->addrlen),
GNUNET_i2s (&s->target));
client_delete_session (s);
return NULL;
@@ -1747,7 +1747,7 @@ const char *http_plugin_address_to_string (void *cls,
const void *addr,
size_t addrlen)
{
- return http_common_plugin_address_to_string (cls, p->name, addr, addrlen);
+ return http_common_plugin_address_to_string (cls, p->protocol, addr, addrlen);
}
/**