fix the indentation of a large block

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 20 years ago
parent ed320702d9
commit ef775bbd66

@ -4003,7 +4003,7 @@ static void build_mapping(char *name, char *value)
map->options = 0;
memset(fields, 0, sizeof(fields));
x = 0;
while(t && x < MAX_OPTS) {
while (t && x < MAX_OPTS) {
fields[x++] = t;
t = strchr(t, ',');
if (t) {
@ -4026,7 +4026,7 @@ static void build_mapping(char *name, char *value)
} else {
ast_log(LOG_WARNING, "Invalid weight '%s' specified, deleting entry '%s/%s'\n", fields[1], map->dcontext, map->lcontext);
}
for (y=4;y<x;y++) {
for (y = 4;y < x; y++) {
if (!strcasecmp(fields[y], "nounsolicited"))
map->options |= DUNDI_FLAG_NOUNSOLICITED;
else if (!strcasecmp(fields[y], "nocomunsolicit"))

Loading…
Cancel
Save