mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-13 13:28:34 +00:00
fix the indentation of a large block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user