[asterisk-commits] file: branch file/7567 r115683 - /team/file/7567/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 12 10:21:53 CDT 2008


Author: file
Date: Mon May 12 10:21:52 2008
New Revision: 115683

URL: http://svn.digium.com/view/asterisk?view=rev&rev=115683
Log:
Since ao2_alloc uses ast_calloc we don't need to set these to zero, they already are.

Modified:
    team/file/7567/channels/chan_iax2.c

Modified: team/file/7567/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/team/file/7567/channels/chan_iax2.c?view=diff&rev=115683&r1=115682&r2=115683
==============================================================================
--- team/file/7567/channels/chan_iax2.c (original)
+++ team/file/7567/channels/chan_iax2.c Mon May 12 10:21:52 2008
@@ -1437,9 +1437,6 @@
 	tmp->autoid = -1;
 	tmp->authid = -1;
 	tmp->initid = -1;
-	tmp->mediareleased = 0;
-	tmp->triedtransfer = 0; 
-
 
 	ast_string_field_set(tmp,exten, "s");
 	ast_string_field_set(tmp,host, host);




More information about the asterisk-commits mailing list