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_tcp.c | |
parent | 9fac6b6eefdc9144053f736fd388cb2199a97046 (diff) | |
download | gnunet-5b4628337a35dac0fd34e51042b21db70dd39dee.tar.gz gnunet-5b4628337a35dac0fd34e51042b21db70dd39dee.zip |
-fixing #2302
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index ec4bbfc5e..0c1b8a056 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -1507,11 +1507,15 @@ tcp_plugin_address_pretty_printer (void *cls, const char *type, | |||
1507 | sb = &a4; | 1507 | sb = &a4; |
1508 | sbs = sizeof (a4); | 1508 | sbs = sizeof (a4); |
1509 | } | 1509 | } |
1510 | else if (0 == addrlen) | ||
1511 | { | ||
1512 | asc (asc_cls, "<inbound connection>"); | ||
1513 | asc (asc_cls, NULL); | ||
1514 | return; | ||
1515 | } | ||
1510 | else | 1516 | else |
1511 | { | 1517 | { |
1512 | /* invalid address */ | 1518 | /* invalid address */ |
1513 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, "tcp", | ||
1514 | "Invalid address to string request: plugin `%s', address length: %u bytes\n"); | ||
1515 | GNUNET_break_op (0); | 1519 | GNUNET_break_op (0); |
1516 | asc (asc_cls, NULL); | 1520 | asc (asc_cls, NULL); |
1517 | return; | 1521 | return; |