Index: eithelper.h
===================================================================
--- eithelper.h	(revision 8475)
+++ eithelper.h	(working copy)
@@ -31,7 +31,7 @@
 
   private:
     int GetChanID(int tid_db, const Event &event) const;
-    static uint UpdateEITList(int mplexid, const QList_Events &events);
+    uint UpdateEITList(int mplexid, const QList_Events &events);
 
     QListList_Events  eitList;      ///< Event Information Tables List
     mutable QMutex    eitList_lock; ///< EIT List lock
Index: eithelper.cpp
===================================================================
--- eithelper.cpp	(revision 8475)
+++ eithelper.cpp	(working copy)
@@ -122,7 +122,7 @@
     srv |= (event.ATSC) ? (mplexid << 16) : (event.NetworkID << 16);
 
     int chanid = srv_to_chanid[srv];
-    if (chanid == 0)
+    if (chanid == 0) 
         srv_to_chanid[srv] = chanid = get_chan_id_from_db(mplexid, event);
     return chanid;
 }
@@ -136,7 +136,7 @@
     QList_Events::const_iterator e = events.begin();
     for (; e != events.end(); ++e)
     {
-        int chanid = get_chan_id_from_db(mplexid, **e);
+        int chanid = GetChanID(mplexid, **e);
         if (chanid <= 0)
             continue;
         counter += update_eit_in_db(query1, query2, chanid, **e);
