From 26aa86e473a2adeba117967067f3f11d76a403df Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Tue, 24 Jan 2012 03:06:29 +0000 Subject: [PATCH] - Use a consisten (and correct) way to detect data packets --- src/mesh/mesh_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index 48d8251ba..c45017ae0 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c @@ -1139,7 +1139,7 @@ send_callback (void *cls, size_t size, void *buf) } if (th->timeout_task != GNUNET_SCHEDULER_NO_TASK) GNUNET_SCHEDULER_cancel (th->timeout_task); - if (NULL != th->tunnel) + if (NULL != th->notify) { th->tunnel->mesh->npackets--; th->tunnel->npackets--; -- 2.25.1