[svn-commits] trunk - r7770 /trunk/apps/app_privacy.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue Jan 3 23:26:04 CST 2006
Author: bweschke
Date: Tue Jan 3 23:26:03 2006
New Revision: 7770
URL: http://svn.digium.com/view/asterisk?rev=7770&view=rev
Log:
Fix the 'if' clause to be true under the right conditions. Bug #6126
Modified:
trunk/apps/app_privacy.c
Modified: trunk/apps/app_privacy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_privacy.c?rev=7770&r1=7769&r2=7770&view=diff
==============================================================================
--- trunk/apps/app_privacy.c (original)
+++ trunk/apps/app_privacy.c Tue Jan 3 23:26:03 2006
@@ -195,7 +195,7 @@
}
/*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, "");
More information about the svn-commits
mailing list