diff options
Diffstat (limited to 'src/util/mq.c')
-rw-r--r-- | src/util/mq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/mq.c b/src/util/mq.c index d2f5add19..72ab8b72d 100644 --- a/src/util/mq.c +++ b/src/util/mq.c | |||
@@ -964,6 +964,7 @@ GNUNET_MQ_send_cancel (struct GNUNET_MQ_Envelope *ev) | |||
964 | { | 964 | { |
965 | /* complex case, we already started with transmitting | 965 | /* complex case, we already started with transmitting |
966 | the message using the callbacks. */ | 966 | the message using the callbacks. */ |
967 | GNUNET_assert (GNUNET_NO == mq->in_flight); | ||
967 | GNUNET_assert (0 < mq->queue_length); | 968 | GNUNET_assert (0 < mq->queue_length); |
968 | mq->queue_length--; | 969 | mq->queue_length--; |
969 | mq->cancel_impl (mq, | 970 | mq->cancel_impl (mq, |