]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7570: fix status variable reference that is breaking compile w/ zrtp enabled
authorMichael Jerris <mike@jerris.com>
Mon, 1 Jun 2015 16:51:26 +0000 (12:51 -0400)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 1 Jun 2015 17:25:13 +0000 (12:25 -0500)
src/switch_rtp.c

index 438a3dabd558931f8e1cc0f60158211862261621..07a407d6e8a442c319dff4e8f9503b7b167d94ce 100644 (file)
@@ -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: