summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-03-20 13:27:01 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-03-20 13:27:01 +0100
commitde23bd7cb12284993d56881cfb5f3b7b221dece7 (patch)
tree7d0d575d0a9f97a9ee10759fc057e67b4a0ac0d3 /remote.c
parentfa512884b9327480fcb70749fb26ff960aa626ca (diff)
downloadvdr-de23bd7cb12284993d56881cfb5f3b7b221dece7.tar.gz
vdr-de23bd7cb12284993d56881cfb5f3b7b221dece7.tar.bz2
Added a missing cMutexLock to cRemote::HasKeys()
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/remote.c b/remote.c
index 2d382e0b..448d5530 100644
--- a/remote.c
+++ b/remote.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remote.c 1.41 2004/10/31 14:05:12 kls Exp $
+ * $Id: remote.c 1.42 2005/03/20 13:25:31 kls Exp $
*/
#include "remote.h"
@@ -145,6 +145,7 @@ bool cRemote::Put(const char *Code, bool Repeat, bool Release)
bool cRemote::HasKeys(void)
{
+ cMutexLock MutexLock(&mutex);
return in != out && !(keys[out] & k_Repeat);
}