From 162e047bf00f7a767a3f14aaf4ba68a0cb4881b4 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 11 Jul 2013 13:48:54 +0000 Subject: printing inbound addresses --- src/transport/plugin_transport_http_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/transport/plugin_transport_http_common.c') diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c index 6031d0947..912ba93d3 100644 --- a/src/transport/plugin_transport_http_common.c +++ b/src/transport/plugin_transport_http_common.c @@ -269,8 +269,8 @@ http_common_plugin_address_to_string (void *cls, char *plugin, const void *addr, if (NULL == addr) return NULL; - if (0 >= addrlen) - return NULL; + if (0 == addrlen) + return ""; if (addrlen != http_common_address_get_size (address)) return NULL; addr_str = (char *) &address[1]; -- cgit v1.2.3