[Asterisk-cvs] asterisk pbx.c,1.154.2.3,1.154.2.4
russell at lists.digium.com
russell at lists.digium.com
Fri Nov 12 10:26:18 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv9832
Modified Files:
Tag: v1-0
pbx.c
Log Message:
allow dashes in extensions since they can be in patterns (bug #2835)
Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.154.2.3
retrieving revision 1.154.2.4
diff -u -d -r1.154.2.3 -r1.154.2.4
--- pbx.c 23 Oct 2004 11:55:21 -0000 1.154.2.3
+++ pbx.c 12 Nov 2004 15:27:30 -0000 1.154.2.4
@@ -577,6 +577,7 @@
match=1;\
pattern++;\
while(match && *data && *pattern && (*pattern != '/')) {\
+ while (*data == '-' && (*(data+1) != '\0')) data++;\
switch(toupper(*pattern)) {\
case '[': \
{\
More information about the svn-commits
mailing list