[asterisk-commits] dbrooks: branch 1.6.2 r199998 - in /branches/1.6.2: ./ main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 10 15:37:06 CDT 2009
Author: dbrooks
Date: Wed Jun 10 15:37:02 2009
New Revision: 199998
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=199998
Log:
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
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/main/pbx.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/main/pbx.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/main/pbx.c?view=diff&rev=199998&r1=199997&r2=199998
==============================================================================
--- branches/1.6.2/main/pbx.c (original)
+++ branches/1.6.2/main/pbx.c Wed Jun 10 15:37:02 2009
@@ -1627,7 +1627,7 @@
#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 };
More information about the asterisk-commits
mailing list