diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-06 11:53:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-06 11:53:15 +0000 |
commit | 5b4628337a35dac0fd34e51042b21db70dd39dee (patch) | |
tree | 74c8411a8dde0e4bb2549c5ee0a86f97aa2c9925 /src/transport/plugin_transport_http.c | |
parent | 9fac6b6eefdc9144053f736fd388cb2199a97046 (diff) | |
download | gnunet-5b4628337a35dac0fd34e51042b21db70dd39dee.tar.gz gnunet-5b4628337a35dac0fd34e51042b21db70dd39dee.zip |
-fixing #2302
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r-- | src/transport/plugin_transport_http.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 4f9279495..de616173e 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c | |||
@@ -212,6 +212,12 @@ http_plugin_address_pretty_printer (void *cls, const char *type, | |||
212 | sbs = sizeof (struct sockaddr_in); | 212 | sbs = sizeof (struct sockaddr_in); |
213 | port = ntohs (a4->u4_port); | 213 | port = ntohs (a4->u4_port); |
214 | } | 214 | } |
215 | else if (0 == addrlen) | ||
216 | { | ||
217 | asc (asc_cls, "<inbound connection>"); | ||
218 | asc (asc_cls, NULL); | ||
219 | return; | ||
220 | } | ||
215 | else | 221 | else |
216 | { | 222 | { |
217 | /* invalid address */ | 223 | /* invalid address */ |