projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6636010
)
additional santity check for MQ users
author
Christian Grothoff
<christian@grothoff.org>
Tue, 19 Feb 2019 10:36:56 +0000
(11:36 +0100)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 19 Feb 2019 10:36:56 +0000
(11:36 +0100)
src/util/mq.c
patch
|
blob
|
history
diff --git
a/src/util/mq.c
b/src/util/mq.c
index d2f5add19c9c30f25b667e9f9e090ecebff7a887..72ab8b72d0a6cfa524d4d8b64453244eb4dd81fa 100644
(file)
--- a/
src/util/mq.c
+++ b/
src/util/mq.c
@@
-964,6
+964,7
@@
GNUNET_MQ_send_cancel (struct GNUNET_MQ_Envelope *ev)
{
/* complex case, we already started with transmitting
the message using the callbacks. */
+ GNUNET_assert (GNUNET_NO == mq->in_flight);
GNUNET_assert (0 < mq->queue_length);
mq->queue_length--;
mq->cancel_impl (mq,