diff options
author | Russell Bryant <russell@russellbryant.com> | 2005-12-05 00:06:09 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2005-12-05 00:06:09 +0000 |
commit | bdb525c4203a473facc5224edae1f22470d2a07c (patch) | |
tree | 4349ec13e7bd7ce56cb92b91a48e6ab9524776ad | |
parent | ec05153ac4e80313e89a0326bfefe17a4ae21f9c (diff) |
Merged revisions 7335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7335 | russell | 2005-12-04 19:01:17 -0500 (Sun, 04 Dec 2005) | 2 lines
fix the order of arguments to an error message (issue #5927)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0ac361255..b0108bd19 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -1067,7 +1067,7 @@ static int __sip_xmit(struct sip_pvt *p, char *data, int len) res=sendto(sipsock, data, len, 0, (struct sockaddr *)&p->sa, sizeof(struct sockaddr_in)); if (res != len) { - ast_log(LOG_WARNING, "sip_xmit of %p (len %d) to %s:%d returned %d: %s\n", data, len, ast_inet_ntoa(iabuf, sizeof(iabuf), p->sa.sin_addr), res, ntohs(p->sa.sin_port), strerror(errno)); + ast_log(LOG_WARNING, "sip_xmit of %p (len %d) to %s:%d returned %d: %s\n", data, len, ast_inet_ntoa(iabuf, sizeof(iabuf), p->sa.sin_addr), ntohs(p->sa.sin_port), res, strerror(errno)); } return res; } |