mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8893 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
11cedd5fcb
commit
1d46f922e2
9 files changed
+290
-80
No files matched your search
+1
-1
@@ -630,7 +630,7 @@ SWITCH_DECLARE(const char *) switch_get_addr(char *buf, switch_size_t len, switc
|
||||
if (!in) {
|
||||
return "";
|
||||
}
|
||||
return get_addr(buf, len, &in->sa.sin.sin_addr);
|
||||
return get_addr(buf, len, (struct sockaddr*)&in->sa, in->salen);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(uint16_t) switch_sockaddr_get_port(switch_sockaddr_t *sa)
|
||||
|
||||
Reference in new issue
Block a user