From: Arran Cudbard-Bell Date: Tue, 11 Oct 2011 15:18:58 +0000 (+0200) Subject: Should return connection, not connection struct X-Git-Tag: release_3_0_0_beta0~597 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa5b253528bbc207b7e606985f9105691037a91e;p=thirdparty%2Ffreeradius-server.git Should return connection, not connection struct --- diff --git a/src/main/connection.c b/src/main/connection.c index 945b6e8977f..137bd88402b 100644 --- a/src/main/connection.c +++ b/src/main/connection.c @@ -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)