summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
authorDavid Brooks <dbrooks@digium.com>2009-06-10 20:00:45 +0000
committerDavid Brooks <dbrooks@digium.com>2009-06-10 20:00:45 +0000
commitdf649a867125cd4ec641b420ec013c78ee82384a (patch)
tree8991dd81059a9cde9a3f4e8ba4487713d7b94bc5 /main/pbx.c
parent554456f0fc9e4bdcfd6c7f8ef14e12ec103cdd54 (diff)
Fixes the argument order in definition of new_find_extension().
In the definition of new_find_extension(), the arguments 'callerid' and 'label' were swapped. The prototype declaration and all calls to the function are ordered 'callerid' then 'label', but the function itself was ordered 'label' then 'callerid'. (closes issue #15303) Reported by: JimDickenson git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@199957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 460f48207..32838a0e6 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -1648,7 +1648,7 @@ static char *action2str(enum ext_match_t action)
#endif
-static void new_find_extension(const char *str, struct scoreboard *score, struct match_char *tree, int length, int spec, const char *label, const char *callerid, enum ext_match_t action)
+static void new_find_extension(const char *str, struct scoreboard *score, struct match_char *tree, int length, int spec, const char *callerid, const char *label, enum ext_match_t action)
{
struct match_char *p; /* note minimal stack storage requirements */
struct ast_exten pattern = { .label = label };