summaryrefslogtreecommitdiff
path: root/apps/app_directory.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-05-07 12:49:36 +0000
committerRussell Bryant <russell@russellbryant.com>2005-05-07 12:49:36 +0000
commitfbbac7cd268098dbfadae1efd086823544756945 (patch)
tree3f3811e953e6dec182a31c8c73f60b903c8811ca /apps/app_directory.c
parenta48f36c3c59a6b8c97ed2614b3f78335ff23dd14 (diff)
use ast_strcasestr (bug #4203)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_directory.c')
-rwxr-xr-xapps/app_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c
index 5a143c883..b73e53979 100755
--- a/apps/app_directory.c
+++ b/apps/app_directory.c
@@ -329,7 +329,7 @@ static int do_directory(struct ast_channel *chan, struct ast_config *cfg, char *
while(v) {
/* Find a candidate extension */
start = strdup(v->value);
- if (start && !strcasestr(start, "hidefromdir=yes")) {
+ if (start && !ast_strcasestr(start, "hidefromdir=yes")) {
stringp=start;
strsep(&stringp, ",");
pos = strsep(&stringp, ",");