From f5cd1fa0df0b8ed9aa7736419f2b066c909bcadb Mon Sep 17 00:00:00 2001 From: Richard Mudgett <rmudgett@digium.com> Date: Fri, 17 Jul 2015 16:23:53 -0500 Subject: [PATCH] chan_sip.c: Tweak glue->update_peer() parameter nil value. Change glue->update_peer() parameter from 0 to NULL to better indicate it is a pointer. Change-Id: I8ff2e5087f0e19f6998e3488a712a2470cc823bd --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f4867aeefe..57430ac645 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7286,7 +7286,7 @@ static int sip_fixup(struct ast_channel *oldchan, struct ast_channel *newchan) redirect of both channels). Note that a channel can not be masqueraded *into* a native bridge. So there is no danger that this breaks a native bridge that should stay up. */ - sip_set_rtp_peer(newchan, NULL, NULL, 0, 0, 0); + sip_set_rtp_peer(newchan, NULL, NULL, NULL, NULL, 0); ret = 0; } ast_debug(3, "SIP Fixup: New owner for dialogue %s: %s (Old parent: %s)\n", p->callid, ast_channel_name(p->owner), ast_channel_name(oldchan)); -- GitLab