diff options
author | George Joseph <george.joseph@fairview5.com> | 2016-02-01 12:04:06 -0700 |
---|---|---|
committer | George Joseph <george.joseph@fairview5.com> | 2016-02-01 19:22:40 -0600 |
commit | 40da6434c1189e2557d20ea3871761cb34595257 (patch) | |
tree | 5337e33a26badb1830c26153a87186e7d1bcecaa /main/manager.c | |
parent | 52b29f9b4cd373be7357cd03e01cfeb2d0029140 (diff) |
build_system: Fix some warnings highlighted by clang
Fix some warnings found with clang.
Change-Id: I5195b6189b148c2ee3ed4a19d015a6d4ef3e77bd
Diffstat (limited to 'main/manager.c')
-rw-r--r-- | main/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c index 6c692d5d5..2adcb3e5a 100644 --- a/main/manager.c +++ b/main/manager.c @@ -2342,7 +2342,7 @@ static char *handle_showmanager(struct ast_cli_entry *e, int cmd, struct ast_cli " write perm: %s\n" " displayconnects: %s\n" "allowmultiplelogin: %s\n", - (user->username ? user->username : "(N/A)"), + S_OR(user->username, "(N/A)"), (user->secret ? "<Set>" : "(N/A)"), ((user->acl && !ast_acl_list_is_empty(user->acl)) ? "yes" : "no"), user_authority_to_str(user->readperm, &rauthority), |