summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_common.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-07-11 13:48:54 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-07-11 13:48:54 +0000
commit162e047bf00f7a767a3f14aaf4ba68a0cb4881b4 (patch)
tree5ee9ed06f1ec76cb25afedcd940fd888204a6193 /src/transport/plugin_transport_http_common.c
parent258a8d9c3dda2a57d146b9e0c683d1f2f9146bd7 (diff)
printing inbound addresses
Diffstat (limited to 'src/transport/plugin_transport_http_common.c')
-rw-r--r--src/transport/plugin_transport_http_common.c4
1 files changed, 2 insertions, 2 deletions
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 "<inbound>";
if (addrlen != http_common_address_get_size (address))
return NULL;
addr_str = (char *) &address[1];