mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
I have no idea what the heck that was supposed to be
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -366,8 +366,7 @@ static int dial_exec(struct ast_channel *chan, void *data)
|
|||||||
|
|
||||||
LOCAL_USER_ADD(u);
|
LOCAL_USER_ADD(u);
|
||||||
|
|
||||||
/* Parse our arguments XXX Check for failure XXX */
|
strncpy(info, (char *)data, sizeof(info) - 1);
|
||||||
strncpy(info, (char *)data, strlen((char *)data) + AST_MAX_EXTENSION-1);
|
|
||||||
peers = info;
|
peers = info;
|
||||||
if (peers) {
|
if (peers) {
|
||||||
timeout = strchr(info, '|');
|
timeout = strchr(info, '|');
|
||||||
|
Reference in New Issue
Block a user