summaryrefslogtreecommitdiff
path: root/pjlib/src
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-01-04 17:56:28 +0000
committerBenny Prijono <bennylp@teluu.com>2008-01-04 17:56:28 +0000
commite9683885ee12f39ab4c84bd2e5a8f15aaea37aef (patch)
tree252988c5e9ff0d6beb7ce9387a5c72eadb2db818 /pjlib/src
parent36e5e5a9f5793856614f395492a3ddd737e7264a (diff)
Fixed bug in IPv6 address to string conversion on WinCE
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1661 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src')
-rw-r--r--pjlib/src/pj/sock_bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/src/pj/sock_bsd.c b/pjlib/src/pj/sock_bsd.c
index 1a6d13f8..fa5eaff8 100644
--- a/pjlib/src/pj/sock_bsd.c
+++ b/pjlib/src/pj/sock_bsd.c
@@ -361,7 +361,7 @@ PJ_DEF(pj_status_t) pj_inet_ntop(int af, const void *src,
#if PJ_NATIVE_STRING_IS_UNICODE
rc = WSAAddressToString((LPSOCKADDR)&sock_addr, addr_len,
- NULL, wtempaddr, addr_str_len);
+ NULL, wtempaddr, &addr_str_len);
if (rc == 0) {
pj_unicode_to_ansi(wtempaddr, wcslen(wtempaddr), dst, size);
}