Use correct variable for text SRTP media.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@324491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2011-06-22 19:16:29 +00:00
parent 0ada0bfea3
commit e397e0fc54

View File

@@ -5435,7 +5435,7 @@ static int sip_call(struct ast_channel *ast, char *dest, int timeout)
return -1;
}
if (p->trtp && !p->vsrtp && setup_srtp(&p->tsrtp) < 0) {
if (p->trtp && !p->tsrtp && setup_srtp(&p->tsrtp) < 0) {
ast_log(LOG_WARNING, "SRTP text setup failed\n");
return -1;
}