[svn-commits] murf: trunk r89257 - /trunk/main/pbx.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Nov 13 17:43:42 CST 2007
Author: murf
Date: Tue Nov 13 17:43:41 2007
New Revision: 89257
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89257
Log:
This hopefully will fix the re-opened 11233. Hadn't covered the case of a context with no patterns. (blush)
Modified:
trunk/main/pbx.c
Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=89257&r1=89256&r2=89257
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Tue Nov 13 17:43:41 2007
@@ -1555,7 +1555,7 @@
score.total_specificity = 0;
score.exten = 0;
score.total_length = 0;
- if (!tmp->pattern_tree)
+ if (!tmp->pattern_tree && tmp->root_tree)
{
create_match_char_tree(tmp);
#ifdef NEED_DEBUG
More information about the svn-commits
mailing list