From 8b2a06b204e2af48803b852692d784649437bec3 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 11 Apr 2014 15:30:32 +0000 Subject: - verbose error --- src/mesh/gnunet-service-mesh_connection.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesh') diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c index c9c99866f..7315b607f 100644 --- a/src/mesh/gnunet-service-mesh_connection.c +++ b/src/mesh/gnunet-service-mesh_connection.c @@ -611,6 +611,8 @@ message_sent (void *cls, { GNUNET_break (type == GNUNET_MESSAGE_TYPE_MESH_CONNECTION_BROKEN || type == GNUNET_MESSAGE_TYPE_MESH_CONNECTION_DESTROY); + LOG (GNUNET_ERROR_TYPE_ERROR, "Message %s sent on NULL connection!\n", + GM_m2s (type)); return; } LOG (GNUNET_ERROR_TYPE_DEBUG, " C_P- %p %u\n", c, c->pending_messages); -- cgit v1.2.3