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 /apps/app_zapscan.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 'apps/app_zapscan.c')
-rwxr-xr-x | apps/app_zapscan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_zapscan.c b/apps/app_zapscan.c index f016cb514..a199d4e02 100755 --- a/apps/app_zapscan.c +++ b/apps/app_zapscan.c @@ -305,7 +305,8 @@ static int conf_exec(struct ast_channel *chan, void *data) if (chan->_state != AST_STATE_UP) ast_answer(chan); - if((desired_group = ast_strdupa((char *) data)) && !ast_strlen_zero(desired_group)) { + desired_group = ast_strdupa((char *) data); + if(!ast_strlen_zero(desired_group)) { ast_verbose(VERBOSE_PREFIX_3 "Scanning for group %s\n", desired_group); search_group = 1; } |