diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-27 15:29:10 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-06-27 15:29:10 +0000 |
commit | 1c24adeb028177ede38ca9ee5e789b88b4014a79 (patch) | |
tree | 39b8c86c93fa0086583d78d2021a4ad25922da9d /src/transport/plugin_transport_http_client.c | |
parent | 2f50296dd6848542ee4a8dd046835be9341f190f (diff) | |
download | gnunet-1c24adeb028177ede38ca9ee5e789b88b4014a79.tar.gz gnunet-1c24adeb028177ede38ca9ee5e789b88b4014a79.zip |
printing fix
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 73426e3b3..9fece2c7e 100644 --- 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, | |||
1530 | { | 1530 | { |
1531 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name, | 1531 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, plugin->name, |
1532 | "Cannot connect to peer `%s' address `%s''\n", | 1532 | "Cannot connect to peer `%s' address `%s''\n", |
1533 | http_common_plugin_address_to_string (NULL, plugin->name, s->addr, s->addrlen), | 1533 | http_common_plugin_address_to_string (NULL, plugin->protocol, s->addr, s->addrlen), |
1534 | GNUNET_i2s (&s->target)); | 1534 | GNUNET_i2s (&s->target)); |
1535 | client_delete_session (s); | 1535 | client_delete_session (s); |
1536 | return NULL; | 1536 | return NULL; |
@@ -1747,7 +1747,7 @@ const char *http_plugin_address_to_string (void *cls, | |||
1747 | const void *addr, | 1747 | const void *addr, |
1748 | size_t addrlen) | 1748 | size_t addrlen) |
1749 | { | 1749 | { |
1750 | return http_common_plugin_address_to_string (cls, p->name, addr, addrlen); | 1750 | return http_common_plugin_address_to_string (cls, p->protocol, addr, addrlen); |
1751 | } | 1751 | } |
1752 | 1752 | ||
1753 | /** | 1753 | /** |