From: Kevin P. Fleming Date: Thu, 18 May 2006 16:38:26 +0000 (+0000) Subject: adding new code should require following the formatting guidelines :-) X-Git-Tag: 1.4.0-beta1~1338 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=48c36f4b89199a917687850876b1d3dab2f0f909;p=thirdparty%2Fasterisk.git adding new code should require following the formatting guidelines :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28214 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index db4bedae82..098e550339 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -13752,8 +13752,8 @@ static int sip_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struc } if (changed && !ast_test_flag(&p->flags[0], SIP_GOTREFER)) { if (chan->_state != AST_STATE_UP) { - char iabuf[INET_ADDRSTRLEN]; - ast_log(LOG_DEBUG, "Early media setting SIP '%s' - Sending early media to %s\n", p->callid, ast_inet_ntoa(iabuf, sizeof(iabuf), rtp ? p->redirip.sin_addr : p->ourip)); + char iabuf[INET_ADDRSTRLEN]; + ast_log(LOG_DEBUG, "Early media setting SIP '%s' - Sending early media to %s\n", p->callid, ast_inet_ntoa(iabuf, sizeof(iabuf), rtp ? p->redirip.sin_addr : p->ourip)); } else if (!p->pendinginvite) { if (option_debug > 2) { char iabuf[INET_ADDRSTRLEN];