diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-26 16:08:42 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-26 16:08:42 +0000 |
commit | ce80e21bd8f90e4915b328ef8fc05a3825688eeb (patch) | |
tree | 880df416b5aedc4abef8b1c75e85b0d5ac72e04e /manager.c | |
parent | 2e11eecbc67ac405d567eca35f8b8bb5912f9080 (diff) |
conversions to S_OR (issue #6803)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15022 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'manager.c')
-rw-r--r-- | manager.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -998,13 +998,13 @@ static void *fast_originate(void *data) if (!ast_strlen_zero(in->app)) { res = ast_pbx_outgoing_app(in->tech, AST_FORMAT_SLINEAR, in->data, in->timeout, in->app, in->appdata, &reason, 1, - !ast_strlen_zero(in->cid_num) ? in->cid_num : NULL, - !ast_strlen_zero(in->cid_name) ? in->cid_name : NULL, + S_OR(in->cid_num, NULL), + S_OR(in->cid_name, NULL), in->vars, in->account, &chan); } else { res = ast_pbx_outgoing_exten(in->tech, AST_FORMAT_SLINEAR, in->data, in->timeout, in->context, in->exten, in->priority, &reason, 1, - !ast_strlen_zero(in->cid_num) ? in->cid_num : NULL, - !ast_strlen_zero(in->cid_name) ? in->cid_name : NULL, + S_OR(in->cid_num, NULL), + S_OR(in->cid_name, NULL), in->vars, in->account, &chan); } |