windows port

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10901 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-12-21 22:17:14 +00:00
parent 9665606806
commit 139ff0148c

View File

@ -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);