]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9812 fix label that is only used when zrtp or srtp are enabled
authorBrian West <brian@freeswitch.org>
Mon, 5 Dec 2016 12:38:44 +0000 (06:38 -0600)
committerBrian West <brian@freeswitch.org>
Mon, 5 Dec 2016 12:38:44 +0000 (06:38 -0600)
src/switch_rtp.c

index d335e7e1c1169264cb913ca91a9568a552cae291..7257a3d5dbc935a0ba2c73fdab53e1298297f977 100644 (file)
@@ -8420,8 +8420,9 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_write_raw(switch_rtp_t *rtp_session,
        }
 
        status = switch_socket_sendto(rtp_session->sock_output, rtp_session->remote_addr, 0, data, bytes);
-
+#if defined(ENABLE_SRTP) || defined(ENABLE_ZRTP)
  end:
+#endif
 
        WRITE_DEC(rtp_session);