]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
More minor tweaks
authorAlan T. DeKok <aland@freeradius.org>
Mon, 27 Jul 2015 16:42:18 +0000 (12:42 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 27 Jul 2015 16:42:18 +0000 (12:42 -0400)
src/include/connection.h
src/main/connection.c

index 468d763873f108a10583661101135cf11c284766..422e028b66a605251d85956a1b948feaa3aeae9a 100644 (file)
@@ -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);
 
 /*
index 1c36dbdcaee8e069737d35c4bebb44288543d53d..6f762dd199c21a1b46d9a09c7506096657ad478b 100644 (file)
@@ -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.