diff options
author | Joshua Colp <jcolp@digium.com> | 2007-07-18 13:59:01 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-07-18 13:59:01 +0000 |
commit | 4003b31fc53e01a948ee4ff59361a40f139fdd2e (patch) | |
tree | 93b136248943175c38f6cfb3bb8d407d5f100d73 /pbx/pbx_realtime.c | |
parent | 2c5a07bf036efcbc2a5a038622fe40f7df574fe5 (diff) |
Minor code tweaks. Variables were being checked wrong in some situations and didn't need to be checked in others.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_realtime.c')
-rw-r--r-- | pbx/pbx_realtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_realtime.c b/pbx/pbx_realtime.c index 9ee770c99..d1011fe8e 100644 --- a/pbx/pbx_realtime.c +++ b/pbx/pbx_realtime.c @@ -211,7 +211,7 @@ static int realtime_exec(struct ast_channel *chan, const char *context, const ch "Application: %s\r\n" "AppData: %s\r\n" "Uniqueid: %s\r\n", - chan->name, chan->context, chan->exten, chan->priority, app, appdata ? appdata : "(NULL)", chan->uniqueid); + chan->name, chan->context, chan->exten, chan->priority, app, !ast_strlen_zero(appdata) ? appdata : "(NULL)", chan->uniqueid); res = pbx_exec(chan, a, appdata); } else |