fix the fixed z code
--- 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)) {