Revision
14754
Author
brian
Date
2009-09-03 12:24:48 -0500 (Thu, 03 Sep 2009)

Log Message

 fix the fixed z code 

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_rtp.c (14753 => 14754)


--- freeswitch/trunk/src/switch_rtp.c	2009-09-03 14:48:02 UTC (rev 14753)
+++ freeswitch/trunk/src/switch_rtp.c	2009-09-03 17:24:48 UTC (rev 14754)
@@ -1457,8 +1457,8 @@
 	/* ZRTP */
 	if (zrtp_on) {
 
-		if (rtp_session->zrtp_ctx != NULL) {
-			zrtp_stream_stop(rtp_session->zrtp_ctx);
+		if ((*rtp_session)->zrtp_ctx != NULL) {
+			zrtp_stream_stop((*rtp_session)->zrtp_ctx);
 		}
 
 		if (switch_test_flag((*rtp_session), SWITCH_ZRTP_FLAG_SECURE_SEND)) {