diff options
author | Matt O'Gorman <mogorman@digium.com> | 2006-03-27 19:31:54 +0000 |
---|---|---|
committer | Matt O'Gorman <mogorman@digium.com> | 2006-03-27 19:31:54 +0000 |
commit | a5ece3388a82dcd27ee7d234891079709f6bea5b (patch) | |
tree | 2db53aac89642dfbf8abe1d2a765fd76bc17106f /apps/app_directory.c | |
parent | f274b642aaacc08ab2a02d0783a2470ec8b1efd3 (diff) |
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
Diffstat (limited to 'apps/app_directory.c')
-rw-r--r-- | apps/app_directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c index 1935a0ca8..63dd3c6c6 100644 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -179,7 +179,7 @@ static int play_mailbox_owner(struct ast_channel *chan, char *context, char *dia } ast_stopstream(chan); } else { - res = ast_say_character_str(chan, !ast_strlen_zero(name) ? name : ext, + res = ast_say_character_str(chan, S_OR(name, ext), AST_DIGIT_ANY, chan->language); } |