fix segfault (2nd try) .. and all because of a small '~'
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 2 Sep 2005 21:47:55 +0000 (21:47 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 2 Sep 2005 21:47:55 +0000 (21:47 +0000)
lib/dvb/epgcache.cpp

index 7a1c3df..c22bf89 100644 (file)
@@ -981,7 +981,7 @@ void eEPGCache::channel_data::abortEPG()
                eDebug("[EPGC] abort caching events !!");
                if (isRunning & eEPGCache::SCHEDULE)
                {
                eDebug("[EPGC] abort caching events !!");
                if (isRunning & eEPGCache::SCHEDULE)
                {
-                       isRunning &= eEPGCache::SCHEDULE;
+                       isRunning &= ~eEPGCache::SCHEDULE;
                        m_ScheduleReader->stop();
                        m_ScheduleConn=0;
                }
                        m_ScheduleReader->stop();
                        m_ScheduleConn=0;
                }