diff options
author | Tobias Arrskog <topfs2@xbmc.org> | 2014-08-24 10:10:21 +0200 |
---|---|---|
committer | Tobias Arrskog <topfs2@xbmc.org> | 2014-08-24 10:10:21 +0200 |
commit | 3bb9544d88a3afaa4cd121e20d92fee0e8d78972 (patch) | |
tree | a510fef184ec70d0e3d531071e558e5cb1f59094 | |
parent | 60faade477359e06b4e8be74425c63bf56f927ba (diff) | |
parent | 8c0ba616d83ccb25a4ea06039560817c8f3f18fc (diff) |
Merge pull request #5268 from at-visions/lirc-fix
[lirc] preventing multiple connections to the lirc socket ...
-rw-r--r-- | xbmc/input/linux/LIRC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/input/linux/LIRC.cpp b/xbmc/input/linux/LIRC.cpp index 04adc396f2..396ea882ad 100644 --- a/xbmc/input/linux/LIRC.cpp +++ b/xbmc/input/linux/LIRC.cpp @@ -129,7 +129,7 @@ void CRemoteControl::Initialize() struct sockaddr_un addr; unsigned int now = XbmcThreads::SystemClockMillis(); - if (!m_used || (now - m_lastInitAttempt) < (unsigned int)m_initRetryPeriod) + if (m_bInitialized || !m_used || (now - m_lastInitAttempt) < (unsigned int)m_initRetryPeriod) return; m_lastInitAttempt = now; |