From c6a9356722f44b706abcd68934ea2dc1238874ce Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 9 Dec 2015 18:56:40 +0000 Subject: Fix #4020, wrong assertion: if destroy is different from NO, state MUST be DESTROYED --- src/cadet/gnunet-service-cadet_connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); -- cgit v1.2.3-18-g5258