diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-08 01:55:31 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-08 01:55:31 +0000 |
commit | a0a97696160c209413f213208b906d2990650320 (patch) | |
tree | ce21ec4bfdeea79845fbbf2eb5308a2e6d513fc8 /res/res_features.c | |
parent | 2ea48ce114efcce674220ef6cbb1cd61f3e79494 (diff) |
issue #5648
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_features.c')
-rwxr-xr-x | res/res_features.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/res/res_features.c b/res/res_features.c index 8e3be8d01..5ac3cdac0 100755 --- a/res/res_features.c +++ b/res/res_features.c @@ -183,7 +183,7 @@ static void check_goto_on_transfer(struct ast_channel *chan) goto_on_transfer = pbx_builtin_getvar_helper(chan, "GOTO_ON_BLINDXFR"); - if (goto_on_transfer && !ast_strlen_zero(goto_on_transfer) && (xferchan = ast_channel_alloc(0))) { + if (!ast_strlen_zero(goto_on_transfer) && (xferchan = ast_channel_alloc(0))) { char *x; struct ast_frame *f; @@ -1002,7 +1002,7 @@ static int ast_feature_interpret(struct ast_channel *chan, struct ast_channel *p } - if (dynamic_features && !ast_strlen_zero(dynamic_features)) { + if (!ast_strlen_zero(dynamic_features)) { char *tmp = ast_strdupa(dynamic_features); char *tok; @@ -1868,7 +1868,7 @@ static int manager_parking_status( struct mansession *s, struct message *m ) char *id = astman_get_header(m,"ActionID"); char idText[256] = ""; - if (id && !ast_strlen_zero(id)) + if (!ast_strlen_zero(id)) snprintf(idText,256,"ActionID: %s\r\n",id); astman_send_ack(s, m, "Parked calls will follow"); |