summaryrefslogtreecommitdiff
path: root/pbx.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-09-13 23:50:18 +0000
committerMark Spencer <markster@digium.com>2003-09-13 23:50:18 +0000
commit00b83639fd178adf283af3b8a1eb80869bbbd00f (patch)
treef0e54164d8ef783c6d04eb47e4ddfb47ade0c70b /pbx.c
parentc1c5fcd426da730a8434f7f04244e17ffd6781c8 (diff)
More PBX fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbx.c b/pbx.c
index abb2e3256..7b86ed45b 100755
--- a/pbx.c
+++ b/pbx.c
@@ -834,17 +834,17 @@ int ast_extension_match(char *pattern, char *data)
}
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] != '_'))