mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
conversions to S_OR (issue #6803)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1230,7 +1230,7 @@ static int allow_multiple_login(char *chan,char *context)
|
||||
if(!chan)
|
||||
return 0;
|
||||
|
||||
snprintf(loginchan, sizeof(loginchan), "%s@%s", chan, !ast_strlen_zero(context) ? context : "default");
|
||||
snprintf(loginchan, sizeof(loginchan), "%s@%s", chan, S_OR(context,"default"));
|
||||
|
||||
AST_LIST_TRAVERSE(&agents, p, list) {
|
||||
if(!strcasecmp(chan, p->loginchan))
|
||||
|
Reference in New Issue
Block a user