]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Should return connection, not connection struct
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 11 Oct 2011 15:18:58 +0000 (17:18 +0200)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 11 Oct 2011 15:18:58 +0000 (17:18 +0200)
src/main/connection.c

index 945b6e8977f5028e11487d714f9c9730a6d2d201..137bd88402b0284942201ff4d7dd47b3cb43b808 100644 (file)
@@ -477,7 +477,7 @@ do_return:
        this->used = TRUE;
 
        pthread_mutex_unlock(&fc->mutex);
-       return this;
+       return this->connection;
 }
 
 void fr_connection_release(fr_connection_pool_t *fc, void *conn)