mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 07:04:17 +00:00
windows build fixes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10211 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
def5574449
commit
86e4283ade
3 files changed
+15
-16
No files matched your search
+1
-1
@@ -1071,7 +1071,7 @@ SWITCH_DECLARE(char *) get_addr(char *buf, switch_size_t len, struct sockaddr *s
|
||||
switch_assert(buf);
|
||||
*buf = '\0';
|
||||
if (sa) {
|
||||
getnameinfo(sa, salen, buf, len, NULL, 0, NI_NUMERICHOST);
|
||||
getnameinfo(sa, salen, buf, (socklen_t)len, NULL, 0, NI_NUMERICHOST);
|
||||
}
|
||||
return buf;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user