]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Return 1.4 to a state where it builds. Changing the arguments to a function and not...
authorJoshua Colp <jcolp@digium.com>
Tue, 30 Oct 2007 15:10:13 +0000 (15:10 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 30 Oct 2007 15:10:13 +0000 (15:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@87534 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_followme.c

index 70327b41879076a4067bed20ca80e8d7d171e43e..f4acd7bf19fac304dc4d6d2c94afa4195794b052 100644 (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);