[Freeswitch-svn] [commit] r10901 - freeswitch/trunk/libs/esl/src
FreeSWITCH SVN
mikej at freeswitch.org
Sun Dec 21 14:17:14 PST 2008
Author: mikej
Date: Sun Dec 21 17:17:14 2008
New Revision: 10901
Log:
windows port
Modified:
freeswitch/trunk/libs/esl/src/esl.c
Modified: freeswitch/trunk/libs/esl/src/esl.c
==============================================================================
--- freeswitch/trunk/libs/esl/src/esl.c (original)
+++ freeswitch/trunk/libs/esl/src/esl.c Sun Dec 21 17:17:14 2008
@@ -562,10 +562,12 @@
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);
More information about the Freeswitch-svn
mailing list