From: Christian Grothoff Date: Tue, 17 Jan 2012 16:06:56 +0000 (+0000) Subject: -check NULL X-Git-Tag: initial-import-from-subversion-38251~15261 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5eb2e9b6991262e12ea2bd2a56587f8d15958318;p=oweals%2Fgnunet.git -check NULL --- 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");