Assert should be false
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 12 Oct 2011 14:24:28 +0000 (16:24 +0200)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 12 Oct 2011 14:24:28 +0000 (16:24 +0200)
src/main/connection.c

index 551e4d7..d048b9a 100644 (file)
@@ -185,7 +185,7 @@ static fr_connection_t *fr_connection_spawn(fr_connection_pool_t *fc,
 static void fr_connection_close(fr_connection_pool_t *fc,
                                fr_connection_t *this)
 {
-       rad_assert(this->used == TRUE);
+       rad_assert(this->used == FALSE);
 
        fr_connection_unlink(fc, this);
        fc->delete(fc->ctx, this->connection);