diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-11 13:48:54 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-11 13:48:54 +0000 |
commit | 162e047bf00f7a767a3f14aaf4ba68a0cb4881b4 (patch) | |
tree | 5ee9ed06f1ec76cb25afedcd940fd888204a6193 /src | |
parent | 258a8d9c3dda2a57d146b9e0c683d1f2f9146bd7 (diff) | |
download | gnunet-162e047bf00f7a767a3f14aaf4ba68a0cb4881b4.tar.gz gnunet-162e047bf00f7a767a3f14aaf4ba68a0cb4881b4.zip |
printing inbound addresses
Diffstat (limited to 'src')
-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]; |