diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-10 22:54:22 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-10 22:54:22 +0000 |
commit | 7d3a60e59a63c0384cc48444af709c5dc79d3dc2 (patch) | |
tree | c95d91de248426f06cb210c5065a462e02ce8763 /res | |
parent | acbdd76737969b2a37cf5a7c02529202e1353f16 (diff) |
Merged revisions 162927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r162927 | jpeeler | 2008-12-10 16:53:34 -0600 (Wed, 10 Dec 2008) | 11 lines
Merged revisions 162926 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r162926 | jpeeler | 2008-12-10 16:52:51 -0600 (Wed, 10 Dec 2008) | 3 lines
Oops, inverted logic for a strcasecmp check. Pointed out by mmichelson, thanks!
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@162929 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_musiconhold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 7ab66b66a..2f75baa97 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -413,7 +413,7 @@ static int spawn_mp3(struct mohclass *class) files = 1; } else { dir = opendir(class->dir); - if (!dir && !strncasecmp(class->dir, "http://", 7)) { + if (!dir && strncasecmp(class->dir, "http://", 7)) { ast_log(LOG_WARNING, "%s is not a valid directory\n", class->dir); return -1; } |