From: Automerge Script Date: Mon, 9 Apr 2007 17:54:55 +0000 (+0000) Subject: automerge commit X-Git-Tag: 1.2.18-netsec~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e278c92503fa17b40e6f7562fba10b5af82f9fa6;p=thirdparty%2Fasterisk.git automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@60983 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_directory.c b/apps/app_directory.c index 2b1d4e9677..c2764a2229 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);