]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
chan_sip.c: Tweak glue->update_peer() parameter nil value. 09/1009/1
authorRichard Mudgett <rmudgett@digium.com>
Fri, 17 Jul 2015 21:23:53 +0000 (16:23 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 30 Jul 2015 22:11:57 +0000 (17:11 -0500)
Change glue->update_peer() parameter from 0 to NULL to better indicate it
is a pointer.

Change-Id: I8ff2e5087f0e19f6998e3488a712a2470cc823bd

channels/chan_sip.c

index 412a25764f10f960b0c455c787f6c54499a17732..49a707edc0a96dd23a9301b8e5e931c23faaede8 100644 (file)
@@ -7354,7 +7354,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));