mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
fix readepg from sectionsdcontrol :supplement to 76474020e1
new try
Origin commit data ------------------ Branch: ni/coolstream Commit:31325875db
Author: Jacek Jendrzej <overx300@gmail.com> Date: 2017-01-11 (Wed, 11 Jan 2017) Origin message was: ------------------ fix readepg from sectionsdcontrol :supplement to76474020e1
new try ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit
This commit is contained in:
@@ -1225,7 +1225,7 @@ static void commandReadSIfromXML(int connfd, char *data, const unsigned dataLeng
|
||||
|
||||
writeLockMessaging();
|
||||
data[dataLength] = '\0';
|
||||
epg_dir = (std::string)data + "/";
|
||||
static std::string epg_dir_tmp = (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 *)epg_dir.c_str() ))
|
||||
if (pthread_create (&thrInsert, &attr, insertEventsfromFile, (void *)epg_dir_tmp.c_str() ))
|
||||
{
|
||||
perror("sectionsd: pthread_create()");
|
||||
}
|
||||
|
Reference in New Issue
Block a user