[asterisk-commits] mmichelson: branch group/CCSS r234819 - /team/group/CCSS/main/ccss.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 14 17:12:49 CST 2009
Author: mmichelson
Date: Mon Dec 14 17:12:47 2009
New Revision: 234819
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=234819
Log:
zero out the frame at allocation so that fields we don't fill
in don't have garbage values.
Modified:
team/group/CCSS/main/ccss.c
Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=234819&r1=234818&r2=234819
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Mon Dec 14 17:12:47 2009
@@ -3180,7 +3180,7 @@
int ast_queue_cc_frame(struct ast_channel *chan, const char *monitor_type, enum ast_cc_service_type service)
{
- struct ast_frame frame;
+ struct ast_frame frame = {0,};
char chan_name[AST_CHANNEL_NAME];
ast_channel_get_device_name(chan, chan_name, sizeof(chan_name));
More information about the asterisk-commits
mailing list