[asterisk-commits] twilson: branch group/srtp_reboot r259532 - /team/group/srtp_reboot/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 27 16:57:47 CDT 2010


Author: twilson
Date: Tue Apr 27 16:57:44 2010
New Revision: 259532

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=259532
Log:
Initialize res_srtp/res_srtp_policy to NULL

Modified:
    team/group/srtp_reboot/main/rtp_engine.c

Modified: team/group/srtp_reboot/main/rtp_engine.c
URL: http://svnview.digium.com/svn/asterisk/team/group/srtp_reboot/main/rtp_engine.c?view=diff&rev=259532&r1=259531&r2=259532
==============================================================================
--- team/group/srtp_reboot/main/rtp_engine.c (original)
+++ team/group/srtp_reboot/main/rtp_engine.c Tue Apr 27 16:57:44 2010
@@ -39,8 +39,8 @@
 #include "asterisk/pbx.h"
 #include "asterisk/translate.h"
 
-struct ast_srtp_res *res_srtp;
-struct ast_srtp_policy_res *res_srtp_policy;
+struct ast_srtp_res *res_srtp = NULL;
+struct ast_srtp_policy_res *res_srtp_policy = NULL;
 
 /*! Structure that represents an RTP session (instance) */
 struct ast_rtp_instance {




More information about the asterisk-commits mailing list