[Asterisk-code-review] chan sip.c: Tweak glue->update peer() parameter nil value. (asterisk[13])

Richard Mudgett asteriskteam at digium.com
Thu Jul 30 20:44:45 CDT 2015


Richard Mudgett has uploaded a new change for review.

  https://gerrit.asterisk.org/1000

Change subject: chan_sip.c: Tweak glue->update_peer() parameter nil value.
......................................................................

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
---
M channels/chan_sip.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/00/1000/1

diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 1838bda..9ab429e 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -7350,7 +7350,7 @@
 		   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));

-- 
To view, visit https://gerrit.asterisk.org/1000
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8ff2e5087f0e19f6998e3488a712a2470cc823bd
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list