From 5eb2e9b6991262e12ea2bd2a56587f8d15958318 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 17 Jan 2012 16:06:56 +0000 Subject: [PATCH] -check NULL --- src/mesh/mesh_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index cebbd7518..eda2c0db5 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c @@ -1479,6 +1479,7 @@ GNUNET_MESH_notify_transmit_ready (struct GNUNET_MESH_Tunnel *tunnel, int cork, uint32_t least_priority; size_t overhead; + GNUNET_assert (NULL != tunnel); #if MESH_API_DEBUG GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "mesh: mesh notify transmit ready called\n"); -- 2.25.1