- fix assertion condition
authorBart Polot <bart.polot+voyager@gmail.com>
Wed, 8 Feb 2017 16:23:09 +0000 (17:23 +0100)
committerBart Polot <bart.polot+voyager@gmail.com>
Wed, 8 Feb 2017 16:23:09 +0000 (17:23 +0100)
src/cadet/cadet_api.c

index 15a5a3856361c8fef071a43329df164022c84bcc..503b1249af48224e26cf8b2cb263e80f1d0c6afa 100644 (file)
@@ -734,7 +734,7 @@ cadet_mq_send_impl (struct GNUNET_MQ_Handle *mq,
   else
   {
     /* Service has NOT allowed this message, queue it and wait for an ACK */
-    GNUNET_assert (NULL != ch->pending_env);
+    GNUNET_assert (NULL == ch->pending_env);
     ch->pending_env = env;
   }
 }