Skip to content
Snippets Groups Projects
Commit ffe885b2 authored by Mark Spencer's avatar Mark Spencer
Browse files

Trivial portability fix

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent b18913b3
Branches
Tags
No related merge requests found
......@@ -250,7 +250,7 @@ static int directory_exec(struct ast_channel *chan, void *data)
}
LOCAL_USER_ADD(u);
top:
context = strdupa(data);
context = ast_strdupa(data);
dialcontext = strchr(context, '|');
if (dialcontext) {
*dialcontext = '\0';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment