From 2d2d9cb40ffca230168235ecc0208b595b69efdc Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 26 Apr 2012 13:48:23 +0000 Subject: [PATCH] -fix --- src/util/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/connection.c b/src/util/connection.c index ba129661b..31e6399e1 100644 --- a/src/util/connection.c +++ b/src/util/connection.c @@ -1110,7 +1110,7 @@ GNUNET_CONNECTION_receive (struct GNUNET_CONNECTION_Handle *connection, size_t m void * GNUNET_CONNECTION_receive_cancel (struct GNUNET_CONNECTION_Handle *connection) { - if (GNUNET_SCHEDULER_NO_TASK == connection->read_task) + if (GNUNET_SCHEDULER_NO_TASK != connection->read_task) { GNUNET_assert (connection == GNUNET_SCHEDULER_cancel (connection->read_task)); connection->read_task = GNUNET_SCHEDULER_NO_TASK; -- 2.25.1