From: Joshua Colp Date: Tue, 30 Oct 2007 15:10:13 +0000 (+0000) Subject: Return 1.4 to a state where it builds. Changing the arguments to a function and not... X-Git-Tag: 1.4.14~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06e768e60dd836544a29ac1df510c74633f7e0e2;p=thirdparty%2Fasterisk.git 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 --- diff --git a/apps/app_followme.c b/apps/app_followme.c index 70327b4187..f4acd7bf19 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -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);