From: Alan T. DeKok Date: Wed, 25 Jun 2014 20:30:51 +0000 (-0400) Subject: Just print out what we have for debugging. X-Git-Tag: release_3_0_4_rc2~175 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=freeradius.git;a=commitdiff_plain;h=664b61978715c6a30baaea6c40dee492b3b03637 Just print out what we have for debugging. --- diff --git a/src/main/modcall.c b/src/main/modcall.c index cf9fe6b..d106e09 100644 --- a/src/main/modcall.c +++ b/src/main/modcall.c @@ -3356,7 +3356,6 @@ void modcall_debug(modcallable *mc, int depth) modcallable *this; modgroup *g; value_pair_map_t *map; - const char *name1; char buffer[1024]; for (this = mc; this != NULL; this = this->next) { @@ -3430,14 +3429,8 @@ void modcall_debug(modcallable *mc, int depth) #endif case MOD_GROUP: g = mod_callabletogroup(this); - name1 = cf_section_name1(g->cs); - if (strcmp(name1, "group") == 0) { - DEBUG("%.*s%s {", depth, modcall_spaces, - group_name[this->type]); - } else { - DEBUG("%.*s%s %s {", depth, modcall_spaces, - name1, cf_section_name2(g->cs)); - } + DEBUG("%.*s%s {", depth, modcall_spaces, + group_name[this->type]); modcall_debug(g->children, depth + 1); DEBUG("%.*s}", depth, modcall_spaces); break;