diff options
Diffstat (limited to 'src/transport/plugin_transport_http_common.c')
-rw-r--r-- | src/transport/plugin_transport_http_common.c | 4 |
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, | |||
269 | 269 | ||
270 | if (NULL == addr) | 270 | if (NULL == addr) |
271 | return NULL; | 271 | return NULL; |
272 | if (0 >= addrlen) | 272 | if (0 == addrlen) |
273 | return NULL; | 273 | return "<inbound>"; |
274 | if (addrlen != http_common_address_get_size (address)) | 274 | if (addrlen != http_common_address_get_size (address)) |
275 | return NULL; | 275 | return NULL; |
276 | addr_str = (char *) &address[1]; | 276 | addr_str = (char *) &address[1]; |