diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-01-30 02:30:08 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-01-30 02:30:08 +0100 |
commit | 8af83dc4c3bdef6f09ec9ae0c9b2949f48ebdf80 (patch) | |
tree | b0e9e46866f49a260b39d8c0d6bd4a36eafc412b /src/util/mq.c | |
parent | 925f1f9fc44688bad1002170d5033d82cf456d44 (diff) | |
download | gnunet-8af83dc4c3bdef6f09ec9ae0c9b2949f48ebdf80.tar.gz gnunet-8af83dc4c3bdef6f09ec9ae0c9b2949f48ebdf80.zip |
log unsent queued messages only on DEBUG
Diffstat (limited to 'src/util/mq.c')
-rw-r--r-- | src/util/mq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/mq.c b/src/util/mq.c index 8d71359ac..33bbaa6ad 100644 --- a/src/util/mq.c +++ b/src/util/mq.c | |||
@@ -851,7 +851,7 @@ GNUNET_MQ_destroy (struct GNUNET_MQ_Handle *mq) | |||
851 | ev); | 851 | ev); |
852 | GNUNET_assert (0 < mq->queue_length); | 852 | GNUNET_assert (0 < mq->queue_length); |
853 | mq->queue_length--; | 853 | mq->queue_length--; |
854 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 854 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
855 | "MQ destroy drops message of type %u\n", | 855 | "MQ destroy drops message of type %u\n", |
856 | ntohs (ev->mh->type)); | 856 | ntohs (ev->mh->type)); |
857 | GNUNET_MQ_discard (ev); | 857 | GNUNET_MQ_discard (ev); |
@@ -861,7 +861,7 @@ GNUNET_MQ_destroy (struct GNUNET_MQ_Handle *mq) | |||
861 | /* we can only discard envelopes that | 861 | /* we can only discard envelopes that |
862 | * are not queued! */ | 862 | * are not queued! */ |
863 | mq->current_envelope->parent_queue = NULL; | 863 | mq->current_envelope->parent_queue = NULL; |
864 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 864 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
865 | "MQ destroy drops current message of type %u\n", | 865 | "MQ destroy drops current message of type %u\n", |
866 | ntohs (mq->current_envelope->mh->type)); | 866 | ntohs (mq->current_envelope->mh->type)); |
867 | GNUNET_MQ_discard (mq->current_envelope); | 867 | GNUNET_MQ_discard (mq->current_envelope); |