From 9aef4a2b2d7ec211c6f5d87807559bfc837afd8b Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 31 Mar 2014 09:02:34 +0000 Subject: debug message for assertion to figure out malformed address length --- src/transport/plugin_transport_tcp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/transport/plugin_transport_tcp.c') 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, else { /* invalid address */ - GNUNET_break_op(0); + LOG (GNUNET_ERROR_TYPE_ERROR, + "Trying to print invalid `%s' address with size %u\n", type, addrlen); asc (asc_cls, NULL ); return; } -- cgit v1.2.3