[svn-commits] twilson: branch 10 r332560 - in /branches/10: ./ main/netsock2.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Aug 18 16:34:07 CDT 2011
Author: twilson
Date: Thu Aug 18 16:34:04 2011
New Revision: 332560
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=332560
Log:
Merged revisions 332559 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r332559 | twilson | 2011-08-18 16:26:01 -0500 (Thu, 18 Aug 2011) | 5 lines
Fix possible error on stringification of IPv4-mapped addrs
The FreeBSD netsock2 test has been failing for a while. We were
pasing sa->len to getnameinfo instead of sa_tmp->len.
........
Modified:
branches/10/ (props changed)
branches/10/main/netsock2.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/main/netsock2.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/netsock2.c?view=diff&rev=332560&r1=332559&r2=332560
==============================================================================
--- branches/10/main/netsock2.c (original)
+++ branches/10/main/netsock2.c Thu Aug 18 16:34:04 2011
@@ -85,7 +85,7 @@
sa_tmp = sa;
}
- if ((e = getnameinfo((struct sockaddr *)&sa_tmp->ss, sa->len,
+ if ((e = getnameinfo((struct sockaddr *)&sa_tmp->ss, sa_tmp->len,
format & AST_SOCKADDR_STR_ADDR ? host : NULL,
format & AST_SOCKADDR_STR_ADDR ? sizeof(host) : 0,
format & AST_SOCKADDR_STR_PORT ? port : 0,
More information about the svn-commits
mailing list