[asterisk-commits] mmichelson: branch 1.2 r75066 - /branches/1.2/apps/app_chanspy.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 13 15:10:40 CDT 2007


Author: mmichelson
Date: Fri Jul 13 15:10:39 2007
New Revision: 75066

URL: http://svn.digium.com/view/asterisk?view=rev&rev=75066
Log:
Fixed an issue where chanspy flags were uninitialized if no options were passed.
What triggered this investigation was an IRC chat where some people's quiet flags were
set while others' weren't even though none of them had specified the q option.


Modified:
    branches/1.2/apps/app_chanspy.c

Modified: branches/1.2/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_chanspy.c?view=diff&rev=75066&r1=75065&r2=75066
==============================================================================
--- branches/1.2/apps/app_chanspy.c (original)
+++ branches/1.2/apps/app_chanspy.c Fri Jul 13 15:10:39 2007
@@ -432,6 +432,8 @@
 				volfactor = vol;
 			}
 	}
+	else 
+		ast_clear_flag(&flags, AST_FLAGS_ALL);
 
 	if (recbase) {
 		char filename[512];




More information about the asterisk-commits mailing list