From 045821729e5cd426e6ed57b12575fe272184f03b Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 27 Dec 2016 09:07:19 +0100 Subject: [PATCH] Revert "fix readepg from sectionsdcontrol" This reverts commit d2ef5030283dfb01de994f2b24cdd3a410062144. --- src/eitd/sectionsd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eitd/sectionsd.cpp b/src/eitd/sectionsd.cpp index bfe88ed14..e131b423d 100644 --- a/src/eitd/sectionsd.cpp +++ b/src/eitd/sectionsd.cpp @@ -1225,7 +1225,7 @@ static void commandReadSIfromXML(int connfd, char *data, const unsigned dataLeng writeLockMessaging(); data[dataLength] = '\0'; - std::string load_epg_dir = (std::string)data + "/"; + epg_dir = (std::string)data + "/"; unlockMessaging(); @@ -1233,7 +1233,7 @@ static void commandReadSIfromXML(int connfd, char *data, const unsigned dataLeng pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); - if (pthread_create (&thrInsert, &attr, insertEventsfromFile, (void *)load_epg_dir.c_str() )) + if (pthread_create (&thrInsert, &attr, insertEventsfromFile, (void *)epg_dir.c_str() )) { perror("sectionsd: pthread_create()"); }