提交 139ff014 authored 作者: Michael Jerris's avatar Michael Jerris

windows port

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10901 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 96656068
......@@ -562,10 +562,12 @@ esl_status_t esl_disconnect(esl_handle_t *handle)
esl_status_t esl_recv_event_timed(esl_handle_t *handle, uint32_t ms, esl_event_t **save_event)
{
fd_set rfds, efds;
struct timeval tv = { 0, ms * 1000 };
struct timeval tv = { 0 };
int max, activity;
esl_status_t status = ESL_SUCCESS;
tv.tv_usec = ms * 1000;
esl_mutex_lock(handle->mutex);
FD_ZERO(&rfds);
FD_ZERO(&efds);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论