diff options
Diffstat (limited to 'pbx')
-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 |