oops ... inverted logic
authorFlorian Dold <florian.dold@gmail.com>
Sun, 16 Oct 2016 22:16:12 +0000 (22:16 +0000)
committerFlorian Dold <florian.dold@gmail.com>
Sun, 16 Oct 2016 22:16:12 +0000 (22:16 +0000)
src/util/mq.c

index 312fb3ff0164e7e3bb12d3695fe144824f6178f7..4ba6c5ff8c255ab4e2e089263bc6de34d6badef6 100644 (file)
@@ -613,7 +613,7 @@ const struct GNUNET_MessageHeader *
 GNUNET_MQ_impl_current (struct GNUNET_MQ_Handle *mq)
 {
   GNUNET_assert (NULL != mq->current_envelope);
-  GNUNET_assert (NULL == mq->current_envelope->mh);
+  GNUNET_assert (NULL != mq->current_envelope->mh);
   return mq->current_envelope->mh;
 }