Spawn should be bool
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 12 Feb 2015 01:21:46 +0000 (20:21 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 12 Feb 2015 01:21:46 +0000 (20:21 -0500)
src/main/connection.c

index ef9c118..d95581b 100644 (file)
@@ -1066,7 +1066,7 @@ static int fr_connection_pool_check(fr_connection_pool_t *pool)
  * @param[in] spawn whether to spawn a new connection
  * @return a pointer to the connection handle, or NULL on error.
  */
-static void *fr_connection_get_internal(fr_connection_pool_t *pool, int spawn)
+static void *fr_connection_get_internal(fr_connection_pool_t *pool, bool spawn)
 {
        time_t now;
        fr_connection_t *this, *next;