mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +00:00
Janitor work converting !ast_strlen_zero(a)?a:b
to S_OR functions. from bug note 6805 with minor modifications. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1845,8 +1845,8 @@ static struct ast_conference *find_conf(struct ast_channel *chan, char *confno,
|
||||
if (!strcasecmp(args.confno, confno)) {
|
||||
/* Bingo it's a valid conference */
|
||||
cnf = build_conf(args.confno,
|
||||
ast_strlen_zero(args.pin) ? "" : args.pin,
|
||||
ast_strlen_zero(args.pinadmin) ? "" : args.pinadmin,
|
||||
S_OR(args.pin, ""),
|
||||
S_OR(args.pinadmin, ""),
|
||||
make, dynamic, refcount);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user