From f792f9de9ee0bf0a0d601fb5236268aa054cb16d Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 1 Jun 2015 12:51:26 -0400 Subject: [PATCH] FS-7570: fix status variable reference that is breaking compile w/ zrtp enabled --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 438a3dabd5..07a407d6e8 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -7746,7 +7746,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_write_raw(switch_rtp_t *rtp_session, break; case zrtp_status_drop: switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error: zRTP protection drop with code %d\n", stat); - ret = SWITCH_STATUS_SUCCESS; + status = SWITCH_STATUS_SUCCESS; goto end; break; case zrtp_status_fail: