Fixed a missing parameter in Lock2::lock() spotted by Allan. Thanks!

git-svn-id: http://yate.null.ro/svn/yate/trunk@2933 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2009-11-11 20:37:27 +00:00
parent 7b122c9741
commit 3a41506f48
1 changed files with 1 additions and 1 deletions

View File

@ -3918,7 +3918,7 @@ public:
* @return True on success - both locked
*/
inline bool lock(Mutex& mx1, Mutex& mx2, long maxwait = -1)
{ return lock(&mx1,&mx2); }
{ return lock(&mx1,&mx2,maxwait); }
/**
* Unlock both mutexes if they were locked and drop the references