]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
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 551e4d728821aeb8a1a03f0abccbf5a78737d40a..d048b9acd889018517100f18523892584ff9bca5 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);