aboutsummaryrefslogtreecommitdiff
path: root/src/util/connection.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-04-26 13:48:23 +0000
committerChristian Grothoff <christian@grothoff.org>2012-04-26 13:48:23 +0000
commit2d2d9cb40ffca230168235ecc0208b595b69efdc (patch)
treec035494a78454fe230594d3d4cb09407e0382b87 /src/util/connection.c
parentec41b913e984e37b6690cd8dedffe679e3e8ac1d (diff)
downloadgnunet-2d2d9cb40ffca230168235ecc0208b595b69efdc.tar.gz
gnunet-2d2d9cb40ffca230168235ecc0208b595b69efdc.zip
-fix
Diffstat (limited to 'src/util/connection.c')
-rw-r--r--src/util/connection.c2
1 files changed, 1 insertions, 1 deletions
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
1110void * 1110void *
1111GNUNET_CONNECTION_receive_cancel (struct GNUNET_CONNECTION_Handle *connection) 1111GNUNET_CONNECTION_receive_cancel (struct GNUNET_CONNECTION_Handle *connection)
1112{ 1112{
1113 if (GNUNET_SCHEDULER_NO_TASK == connection->read_task) 1113 if (GNUNET_SCHEDULER_NO_TASK != connection->read_task)
1114 { 1114 {
1115 GNUNET_assert (connection == GNUNET_SCHEDULER_cancel (connection->read_task)); 1115 GNUNET_assert (connection == GNUNET_SCHEDULER_cancel (connection->read_task));
1116 connection->read_task = GNUNET_SCHEDULER_NO_TASK; 1116 connection->read_task = GNUNET_SCHEDULER_NO_TASK;