From: Alan T. DeKok Date: Mon, 27 Jul 2015 16:42:18 +0000 (-0400) Subject: More minor tweaks X-Git-Tag: release_3_0_10~283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f836985bcb8913a0af07883d426d8282f780e7cb;p=thirdparty%2Ffreeradius-server.git More minor tweaks --- diff --git a/src/include/connection.h b/src/include/connection.h index 468d763873f..422e028b66a 100644 --- a/src/include/connection.h +++ b/src/include/connection.h @@ -98,8 +98,6 @@ int fr_connection_pool_get_num(fr_connection_pool_t *pool); /* * Pool management */ -int fr_connection_pool_reconnect(fr_connection_pool_t *pool); - void fr_connection_pool_free(fr_connection_pool_t *pool); /* diff --git a/src/main/connection.c b/src/main/connection.c index 1c36dbdcaee..6f762dd199c 100644 --- a/src/main/connection.c +++ b/src/main/connection.c @@ -818,9 +818,7 @@ static void *fr_connection_get_internal(fr_connection_pool_t *pool, bool spawn) * fr_connection_reconnect_internal(). So we just return * here. */ - if (!spawn) { - return NULL; - } + if (!spawn) return NULL; /* * We don't have a connection. Try to open a new one.