aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2015-12-09 18:56:40 +0000
committerBart Polot <bart@net.in.tum.de>2015-12-09 18:56:40 +0000
commitc6a9356722f44b706abcd68934ea2dc1238874ce (patch)
treefbc307b8225335150be103cbc8c06095d7f961f7 /src
parentff83e00aa65129b78627ad994d772b651872d1c1 (diff)
Fix #4020, wrong assertion: if destroy is different from NO, state MUST be DESTROYED
Diffstat (limited to 'src')
-rw-r--r--src/cadet/gnunet-service-cadet_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c
index fdc0ec0fe0..c61f4a53ed 100644
--- a/src/cadet/gnunet-service-cadet_connection.c
+++ b/src/cadet/gnunet-service-cadet_connection.c
@@ -2147,7 +2147,7 @@ GCC_handle_confirm (void *cls,
if (GNUNET_NO != c->destroy)
{
- GNUNET_assert (CADET_CONNECTION_DESTROYED != c->state);
+ GNUNET_assert (CADET_CONNECTION_DESTROYED == c->state);
LOG (GNUNET_ERROR_TYPE_DEBUG,
"connection %s being destroyed, ignoring confirm\n",
GCC_2s (c));