diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-01-24 03:06:29 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-01-24 03:06:29 +0000 |
commit | 26aa86e473a2adeba117967067f3f11d76a403df (patch) | |
tree | 4e14e80a67c85209c838023177dee0498149dc7e /src/mesh | |
parent | f8d1558a5e6ede02e8c7f17d634d5d61f0e63e3f (diff) | |
download | gnunet-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.c | 2 |
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--; |