formatting changes :: one line for loops and if statements should have {}

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Ryan Brindley 17 years ago
parent 7a554a7386
commit ad918da94f

@ -420,11 +420,14 @@ const char *ast_variable_retrieve(const struct ast_config *config, const char *c
} else {
struct ast_category *cat;
for (cat = config->root; cat; cat = cat->next)
for (v = cat->root; v; v = v->next)
if (!strcasecmp(variable, v->name))
for (cat = config->root; cat; cat = cat->next) {
for (v = cat->root; v; v = v->next) {
if (!strcasecmp(variable, v->name)) {
return v->value;
}
}
}
}
return NULL;
}

Loading…
Cancel
Save