automerge commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@60983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Automerge Script
2007-04-09 17:54:55 +00:00
parent d691fa4d17
commit e278c92503

View File

@@ -470,7 +470,7 @@ static int do_directory(struct ast_channel *chan, struct ast_config *cfg, char *
pos = strrchr(pos, ' ') + 1; pos = strrchr(pos, ' ') + 1;
conv = convert(pos); conv = convert(pos);
if (conv) { if (conv) {
if (!strcmp(conv, ext)) { if (!strncmp(conv, ext, strlen(ext))) {
/* Match! */ /* Match! */
found++; found++;
free(conv); free(conv);