[asterisk-commits] mmichelson: branch mmichelson/npm_fixes r181011 - /team/mmichelson/npm_fixes/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 10 17:47:56 CDT 2009


Author: mmichelson
Date: Tue Mar 10 17:47:29 2009
New Revision: 181011

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=181011
Log:
Fix pattern matchint when a bracketed expression is used.


Modified:
    team/mmichelson/npm_fixes/main/pbx.c

Modified: team/mmichelson/npm_fixes/main/pbx.c
URL: http://svn.digium.com/svn-view/asterisk/team/mmichelson/npm_fixes/main/pbx.c?view=diff&rev=181011&r1=181010&r2=181011
==============================================================================
--- team/mmichelson/npm_fixes/main/pbx.c (original)
+++ team/mmichelson/npm_fixes/main/pbx.c Tue Mar 10 17:47:29 2009
@@ -1739,6 +1739,10 @@
 						return; /* the first match is all we need */
 					}
 				}
+			} else if (strchr(p->x, *str)) {
+				ast_debug(4, "Nothing strange about this match\n");
+				NEW_MATCHER_CHK_MATCH;
+				NEW_MATCHER_RECURSE;
 			}
 		} else if (strchr(p->x, *str)) {
 			ast_debug(4, "Nothing strange about this match\n");




More information about the asterisk-commits mailing list