[asterisk-commits] rmudgett: branch 1.8 r324491 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 22 14:16:32 CDT 2011


Author: rmudgett
Date: Wed Jun 22 14:16:29 2011
New Revision: 324491

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324491
Log:
Use correct variable for text SRTP media.

Modified:
    branches/1.8/channels/chan_sip.c

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=324491&r1=324490&r2=324491
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Wed Jun 22 14:16:29 2011
@@ -5435,7 +5435,7 @@
 			return -1;
 		}
 
-		if (p->trtp && !p->vsrtp && setup_srtp(&p->tsrtp) < 0) {
+		if (p->trtp && !p->tsrtp && setup_srtp(&p->tsrtp) < 0) {
 			ast_log(LOG_WARNING, "SRTP text setup failed\n");
 			return -1;
 		}




More information about the asterisk-commits mailing list