[svn-commits] branch 1.2 - r7771 /branches/1.2/apps/app_privacy.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Jan 3 23:27:39 CST 2006


Author: bweschke
Date: Tue Jan  3 23:27:38 2006
New Revision: 7771

URL: http://svn.digium.com/view/asterisk?rev=7771&view=rev
Log:
 Fix the 'if' clause to be true under the right conditions. Bug #6126


Modified:
    branches/1.2/apps/app_privacy.c

Modified: branches/1.2/apps/app_privacy.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_privacy.c?rev=7771&r1=7770&r2=7771&view=diff
==============================================================================
--- branches/1.2/apps/app_privacy.c (original)
+++ branches/1.2/apps/app_privacy.c Tue Jan  3 23:27:38 2006
@@ -193,7 +193,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