mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
issue #5648
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -122,9 +122,9 @@ static void loopback_subst(char **newexten, char **newcontext, int *priority, ch
|
||||
pri = strchr(buf, ':');
|
||||
if (!ast_strlen_zero(buf))
|
||||
*newexten = buf;
|
||||
if (con && !ast_strlen_zero(con))
|
||||
if (!ast_strlen_zero(con))
|
||||
*newcontext = con;
|
||||
if (pri && !ast_strlen_zero(pri))
|
||||
if (!ast_strlen_zero(pri))
|
||||
sscanf(pri, "%d", priority);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user