]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
use ast_strcasestr (bug #4203)
authorRussell Bryant <russell@russellbryant.com>
Sat, 7 May 2005 12:49:36 +0000 (12:49 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 7 May 2005 12:49:36 +0000 (12:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5595 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_directory.c

index 5a143c8830f16966b9b3acc0e9e2ce7fb59e3d03..b73e539797dfb256a2f3f2ef2ac46c5884a36c6f 100755 (executable)
@@ -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, ",");