[Asterisk-cvs] asterisk pbx.c,1.51,1.52

markster at lists.digium.com markster at lists.digium.com
Sat Sep 13 18:49:10 CDT 2003


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv29419

Modified Files:
	pbx.c 
Log Message:
More PBX fixes


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- pbx.c	13 Sep 2003 20:51:48 -0000	1.51
+++ pbx.c	13 Sep 2003 23:50:18 -0000	1.52
@@ -834,17 +834,17 @@
 	}
 	if (pattern[0] != '_') {
 	    match = (strcmp(pattern, data) == 0);
-	    ast_log(LOG_DEBUG, "ast_extension_match %s == /%s/ => %d\n", data, pattern, match);
+	    /* ast_log(LOG_DEBUG, "ast_extension_match %s == /%s/ => %d\n", data, pattern, match); */
 	} else {
 	    match = ast_extension_patmatch(pattern+1,data);
-	    ast_log(LOG_DEBUG, "ast_extension_match %s =~ /%s/ => %d\n", data, pattern+1, match);
+	    /* ast_log(LOG_DEBUG, "ast_extension_match %s =~ /%s/ => %d\n", data, pattern+1, match); */
 	}
 	return match;
 }
 
 static int extension_close(char *pattern, char *data, int needmore)
 {
-	int match=1;
+	int match=0;
 	/* If "data" is longer, it can'be a subset of pattern unless
 	   pattern is a pattern match */
 	if ((strlen(pattern) < strlen(data)) && (pattern[0] != '_'))




More information about the svn-commits mailing list