diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-03-31 09:02:34 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-03-31 09:02:34 +0000 |
commit | 9aef4a2b2d7ec211c6f5d87807559bfc837afd8b (patch) | |
tree | c5a44cc59f97755299c5156fb6f5e502321b4deb /src/transport/plugin_transport_tcp.c | |
parent | c20cf66237cb0e1b608427fd95ce95a13f6ebeb4 (diff) | |
download | gnunet-9aef4a2b2d7ec211c6f5d87807559bfc837afd8b.tar.gz gnunet-9aef4a2b2d7ec211c6f5d87807559bfc837afd8b.zip |
debug message for assertion to figure out malformed address length
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index db19d584c..fadec5f4d 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -1783,7 +1783,8 @@ tcp_plugin_address_pretty_printer (void *cls, const char *type, | |||
1783 | else | 1783 | else |
1784 | { | 1784 | { |
1785 | /* invalid address */ | 1785 | /* invalid address */ |
1786 | GNUNET_break_op(0); | 1786 | LOG (GNUNET_ERROR_TYPE_ERROR, |
1787 | "Trying to print invalid `%s' address with size %u\n", type, addrlen); | ||
1787 | asc (asc_cls, NULL ); | 1788 | asc (asc_cls, NULL ); |
1788 | return; | 1789 | return; |
1789 | } | 1790 | } |