From: David Yat Sin Date: Thu, 10 Dec 2009 20:59:48 +0000 (+0000) Subject: Fix for compilation error X-Git-Tag: v1.0.6~38^3~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3459cd6bd67324fa784d350f7e80e8e5f6a6fe1c;p=thirdparty%2Ffreeswitch.git Fix for compilation error git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@936 a93c3328-9c30-0410-af19-c9cd2b2d52af --- diff --git a/libs/freetdm/src/zap_threadmutex.c b/libs/freetdm/src/zap_threadmutex.c index 44591eed84..0d15cadaa1 100644 --- a/libs/freetdm/src/zap_threadmutex.c +++ b/libs/freetdm/src/zap_threadmutex.c @@ -303,8 +303,6 @@ OZ_DECLARE(zap_status_t) zap_condition_wait(zap_condition_t *condition, int ms) struct timespec waitms; - condition->cnt++; - gettimeofday(&t, NULL); waitms.tv_sec = t.tv_sec + ( ms / 1000 );