mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-24 04:04:16 +00:00
different version of last commit
This commit is contained in:
1 parent
1be966ea01
commit
4b064aa96b
3 files changed
+14
-7
No files matched your search
+9
-1
@@ -750,7 +750,15 @@ SWITCH_DECLARE(switch_status_t) switch_socket_sendto(switch_socket_t *sock, swit
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_socket_recv(switch_socket_t *sock, char *buf, switch_size_t *len)
|
||||
{
|
||||
return apr_socket_recv(sock, buf, len);
|
||||
switch_status_t r;
|
||||
|
||||
r = apr_socket_recv(sock, buf, len);
|
||||
|
||||
if (r == 35 || r == 730035) {
|
||||
r = SWITCH_STATUS_BREAK;
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_sockaddr_create(switch_sockaddr_t **sa, switch_memory_pool_t *pool)
|
||||
|
||||
Reference in new issue
Block a user