mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
use ast_strcasestr (bug #4203)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -329,7 +329,7 @@ static int do_directory(struct ast_channel *chan, struct ast_config *cfg, char *
|
|||||||
while(v) {
|
while(v) {
|
||||||
/* Find a candidate extension */
|
/* Find a candidate extension */
|
||||||
start = strdup(v->value);
|
start = strdup(v->value);
|
||||||
if (start && !strcasestr(start, "hidefromdir=yes")) {
|
if (start && !ast_strcasestr(start, "hidefromdir=yes")) {
|
||||||
stringp=start;
|
stringp=start;
|
||||||
strsep(&stringp, ",");
|
strsep(&stringp, ",");
|
||||||
pos = strsep(&stringp, ",");
|
pos = strsep(&stringp, ",");
|
||||||
|
Reference in New Issue
Block a user