if (!section) return NULL;
/*
- * If item is NULL this must be a first time run
- * Return the first item
+ * If item is NULL this must be a first time run
+ * Return the first item
*/
-
if (item == NULL) {
return section->children;
} else {
return cd;
}
-
-static void *cf_data_find_internal(CONF_SECTION const *cs, char const *name,
- int flag)
+static void *cf_data_find_internal(CONF_SECTION const *cs, char const *name, int flag)
{
if (!cs || !name) return NULL;
#ifdef WITH_PROXY
case FR_ACTION_PROXY_REPLY:
RDEBUG2("Reply from home server %s port %d - ID: %d arrived too late. Try increasing 'retry_delay' or 'max_request_time'",
- inet_ntop(request->proxy->dst_ipaddr.af,
+ inet_ntop(request->proxy->dst_ipaddr.af,
&request->proxy->dst_ipaddr.ipaddr,
buffer, sizeof(buffer)),
request->proxy->dst_port, request->proxy->id);
{
home_pool_t *pool;
- pool = rad_malloc(sizeof(*pool) + (sizeof(pool->servers[0]) *
- num_home_servers));
+ pool = rad_malloc(sizeof(*pool) + (sizeof(pool->servers[0]) * num_home_servers));
if (!pool) return NULL; /* just for pairanoia */
- memset(pool, 0, sizeof(*pool) + (sizeof(pool->servers[0]) *
- num_home_servers));
+ memset(pool, 0, sizeof(*pool) + (sizeof(pool->servers[0]) * num_home_servers));
pool->name = name;
pool->type = type;
cf_log_info(cs, "\tvirtual_server = %s", pool->virtual_server);
}
- if (!cf_section_sub_find_name2(rc->cs, "server",
- pool->virtual_server)) {
- cf_log_err_cp(cp, "No such server %s",
- pool->virtual_server);
+ if (!cf_section_sub_find_name2(rc->cs, "server", pool->virtual_server)) {
+ cf_log_err_cp(cp, "No such server %s", pool->virtual_server);
goto error;
}