diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-04 05:27:38 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-04 05:27:38 +0000 |
commit | 221263ec10552e15622b1a85ecbcf518b5a819e6 (patch) | |
tree | b53bcf5a7d19dc86f67570480659cbb907016cec /apps/app_privacy.c | |
parent | f639ff1dd5f4356b0938ce202d33e2eb589708e7 (diff) |
Fix the 'if' clause to be true under the right conditions. Bug #6126
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7771 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_privacy.c')
-rw-r--r-- | apps/app_privacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_privacy.c b/apps/app_privacy.c index 799f31bd2..04ebf247b 100644 --- a/apps/app_privacy.c +++ b/apps/app_privacy.c @@ -193,7 +193,7 @@ static int privacy_exec (struct ast_channel *chan, void *data) } /*Got a number, play sounds and send them on their way*/ - if ((retries < maxretries) && res == 1 ) { + if ((retries < maxretries) && !res ) { res = ast_streamfile(chan, "privacy-thankyou", chan->language); if (!res) res = ast_waitstream(chan, ""); |