aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/app_privacy.c2
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, "");