From 5e129dd8f6ac1d3b1bda1dce9b99365a96a658dc Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 27 Aug 2014 12:51:08 -0400 Subject: [PATCH] brevity --- daemon/call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/call.c b/daemon/call.c index e9496d475..089ace3a7 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -1815,7 +1815,7 @@ static void __generate_crypto(const struct sdp_ng_flags *flags, struct call_medi } /* for answer case, otherwise we default to one */ - this->sdes_out.tag = this->sdes_in.params.crypto_suite ? this->sdes_in.tag : 1; + this->sdes_out.tag = cp_in->crypto_suite ? this->sdes_in.tag : 1; if (other->sdes_in.params.crypto_suite) { /* SRTP <> SRTP case, copy from other stream */