Applied the Sangoma patch to FS version 1.2 in order to port to FS v1.6+

Sourced from:
http://gitlab.sangoma.com/projects/CORE/repos/freetdm/browse/public_freeswitch/sangoma-FS-1.2.patch
This commit is contained in:
William King
2016-01-26 20:05:47 -08:00
parent 41c73013e9
commit 320d5f2015
10 changed files with 98 additions and 0 deletions

View File

@@ -110,6 +110,16 @@ APR_DECLARE(apr_status_t) apr_socket_opt_get(apr_socket_t *sock,
}
APR_DECLARE(int) apr_socket_fd_get(apr_socket_t *sock)
{
if (sock) {
return sock->socketdes;
} else {
return 0;
}
}
APR_DECLARE(apr_status_t) apr_socket_atmark(apr_socket_t *sock, int *atmark)
{
int oobmark;