summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2015-07-17 16:23:53 -0500
committerRichard Mudgett <rmudgett@digium.com>2015-07-30 20:34:23 -0500
commitbc5d7f9c37fe8a4ff5744ab8620898ccae6a7d2a (patch)
tree31ec71912e468a0c06d627664a1696c0524a737a /channels
parent9be856e3c669b65db095dd2cdd618983508de296 (diff)
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
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 1838bdaad..9ab429e83 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -7350,7 +7350,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));