Return 1.4 to a state where it builds. Changing the arguments to a function and not changing where they are used is bad, mmmk?

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@87534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-10-30 15:10:13 +00:00
parent c0d2b5b16d
commit 06e768e60d

View File

@@ -404,7 +404,7 @@ static int reload_followme(void)
idx++;
numorder = idx;
}
cur = create_followme_number(numberstr, timeout, numorder);
cur = create_followme_number(numberstr, "", timeout, numorder);
AST_LIST_INSERT_TAIL(&f->numbers, cur, entry);
} else {
profile_set_param(f, var->name, var->value, var->lineno, 1);
@@ -979,7 +979,7 @@ static int app_exec(struct ast_channel *chan, void *data)
(and locked) while we're trying to do a follow-me */
AST_LIST_HEAD_INIT_NOLOCK(&targs.cnumbers);
AST_LIST_TRAVERSE(&f->numbers, nm, entry) {
newnm = create_followme_number(nm->number, nm->timeout, nm->order);
newnm = create_followme_number(nm->number, "", nm->timeout, nm->order);
AST_LIST_INSERT_TAIL(&targs.cnumbers, newnm, entry);
}
ast_mutex_unlock(&f->lock);