mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 19:52:48 +00:00
Trivial portability fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -250,7 +250,7 @@ static int directory_exec(struct ast_channel *chan, void *data)
|
|||||||
}
|
}
|
||||||
LOCAL_USER_ADD(u);
|
LOCAL_USER_ADD(u);
|
||||||
top:
|
top:
|
||||||
context = strdupa(data);
|
context = ast_strdupa(data);
|
||||||
dialcontext = strchr(context, '|');
|
dialcontext = strchr(context, '|');
|
||||||
if (dialcontext) {
|
if (dialcontext) {
|
||||||
*dialcontext = '\0';
|
*dialcontext = '\0';
|
||||||
|
Reference in New Issue
Block a user