aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-01-24 03:06:29 +0000
committerBart Polot <bart@net.in.tum.de>2012-01-24 03:06:29 +0000
commit26aa86e473a2adeba117967067f3f11d76a403df (patch)
tree4e14e80a67c85209c838023177dee0498149dc7e /src/mesh
parentf8d1558a5e6ede02e8c7f17d634d5d61f0e63e3f (diff)
downloadgnunet-26aa86e473a2adeba117967067f3f11d76a403df.tar.gz
gnunet-26aa86e473a2adeba117967067f3f11d76a403df.zip
- Use a consisten (and correct) way to detect data packets
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/mesh_api.c2
1 files changed, 1 insertions, 1 deletions
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)
1139 } 1139 }
1140 if (th->timeout_task != GNUNET_SCHEDULER_NO_TASK) 1140 if (th->timeout_task != GNUNET_SCHEDULER_NO_TASK)
1141 GNUNET_SCHEDULER_cancel (th->timeout_task); 1141 GNUNET_SCHEDULER_cancel (th->timeout_task);
1142 if (NULL != th->tunnel) 1142 if (NULL != th->notify)
1143 { 1143 {
1144 th->tunnel->mesh->npackets--; 1144 th->tunnel->mesh->npackets--;
1145 th->tunnel->npackets--; 1145 th->tunnel->npackets--;