aboutsummaryrefslogtreecommitdiff
path: root/src/util/mq.c
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2017-02-24 20:10:46 +0100
committertg(x) <*@tg-x.net>2017-02-24 20:10:46 +0100
commitb7002d3f8016478d716236238bd43a7c06c924d2 (patch)
tree3a37e4ffc3dfbb53c7dd571b85126ec762ffbbae /src/util/mq.c
parentcb1165ecfc5c89c22aa4a6fffb72e27e0bde43a3 (diff)
parentfa0b5c44f096a68ac0a51c4cbb37c920ceb36bce (diff)
downloadgnunet-b7002d3f8016478d716236238bd43a7c06c924d2.tar.gz
gnunet-b7002d3f8016478d716236238bd43a7c06c924d2.zip
Merge branch 'master' of gnunet.org:gnunet
Diffstat (limited to 'src/util/mq.c')
-rw-r--r--src/util/mq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/mq.c b/src/util/mq.c
index a8216d964..71619bda4 100644
--- a/src/util/mq.c
+++ b/src/util/mq.c
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2012-2014 GNUnet e.V. 3 Copyright (C) 2012-2017 GNUnet e.V.
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
@@ -362,6 +362,7 @@ GNUNET_MQ_send (struct GNUNET_MQ_Handle *mq,
362 GNUNET_assert (NULL == ev->parent_queue); 362 GNUNET_assert (NULL == ev->parent_queue);
363 363
364 mq->queue_length++; 364 mq->queue_length++;
365 GNUNET_break (mq->queue_length < 10000); /* This would seem like a bug... */
365 ev->parent_queue = mq; 366 ev->parent_queue = mq;
366 /* is the implementation busy? queue it! */ 367 /* is the implementation busy? queue it! */
367 if ( (NULL != mq->current_envelope) || 368 if ( (NULL != mq->current_envelope) ||