git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8893 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2008-07-03 18:50:15 +00:00
1 parent 11cedd5fcb
commit 1d46f922e2
9 files changed
+290 -80

No files matched your search

+1 -1
View File
@@ -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)