diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-01-04 17:56:28 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-01-04 17:56:28 +0000 |
commit | e9683885ee12f39ab4c84bd2e5a8f15aaea37aef (patch) | |
tree | 252988c5e9ff0d6beb7ce9387a5c72eadb2db818 /pjlib/src/pj/sock_bsd.c | |
parent | 36e5e5a9f5793856614f395492a3ddd737e7264a (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/pj/sock_bsd.c')
-rw-r--r-- | pjlib/src/pj/sock_bsd.c | 2 |
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); } |