aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-09 17:54:55 +0000
committerautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-09 17:54:55 +0000
commit611ee832dd9c1e68b660a256e4daea0d2965a95d (patch)
tree3b3c8dc83894be6a1dcc784f114317b8c33a719c /apps
parent13bc05ebd4837d41f2ef4766525794e82b2ece65 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@60983 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c
index 2b1d4e967..c2764a222 100644
--- a/apps/app_directory.c
+++ b/apps/app_directory.c
@@ -470,7 +470,7 @@ static int do_directory(struct ast_channel *chan, struct ast_config *cfg, char *
pos = strrchr(pos, ' ') + 1;
conv = convert(pos);
if (conv) {
- if (!strcmp(conv, ext)) {
+ if (!strncmp(conv, ext, strlen(ext))) {
/* Match! */
found++;
free(conv);