forked from Mirrors/freeswitch
windows port
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10901 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
9665606806
commit
139ff0148c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user