diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-07-11 12:53:07 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-07-11 12:53:07 +0000 |
commit | e81ec10657f7b6a1c9d34d61c763d2f34ece42d5 (patch) | |
tree | 352cb9beeacae269c589cb66780918518361a91e /src | |
parent | 7b09b820fb3e78c586b91874aea4d0f79d060781 (diff) | |
download | gnunet-e81ec10657f7b6a1c9d34d61c763d2f34ece42d5.tar.gz gnunet-e81ec10657f7b6a1c9d34d61c763d2f34ece42d5.zip |
- queue_destroy does all the work
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 35650a5f8..5d6984424 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -3234,7 +3234,6 @@ queue_add (void *cls, uint16_t type, size_t size, | |||
3234 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 3234 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
3235 | "dropping pid: %u\n", pid_q); | 3235 | "dropping pid: %u\n", pid_q); |
3236 | queue_destroy (queue, GNUNET_YES); | 3236 | queue_destroy (queue, GNUNET_YES); |
3237 | fc->queue_n--; | ||
3238 | t->pending_messages--; | 3237 | t->pending_messages--; |
3239 | priority = GNUNET_YES; | 3238 | priority = GNUNET_YES; |
3240 | break; | 3239 | break; |