提交 b4fbb358 authored 作者: Andrew Thompson's avatar Andrew Thompson

Winsock blows

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14550 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 cf19a415
...@@ -74,7 +74,11 @@ void ei_link(listener_t *listener, erlang_pid *from, erlang_pid *to) { ...@@ -74,7 +74,11 @@ void ei_link(listener_t *listener, erlang_pid *from, erlang_pid *to) {
/* sum: 542 */ /* sum: 542 */
switch_mutex_lock(listener->sock_mutex); switch_mutex_lock(listener->sock_mutex);
#ifdef WIN32
ret = send(listener->sockfd, msgbuf, index, 0);
#else
ret = write(listener->sockfd, msgbuf, index); ret = write(listener->sockfd, msgbuf, index);
#endif
switch_mutex_unlock(listener->sock_mutex); switch_mutex_unlock(listener->sock_mutex);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论