fix epg dir, strange static behavior

Origin commit data
------------------
Commit: b7d59d8537
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-04-16 (Mon, 16 Apr 2018)
This commit is contained in:
Jacek Jendrzej
2018-04-16 13:48:37 +02:00
committed by vanhofen
parent db5007bfeb
commit 882c835829

View File

@@ -1219,10 +1219,10 @@ static void commandReadSIfromXML(int connfd, char *data, const unsigned dataLeng
if (dataLength > 100)
return ;
static std::string epg_dir_tmp = "";
writeLockMessaging();
data[dataLength] = '\0';
static std::string epg_dir_tmp = (std::string)data + "/";
epg_dir_tmp = (std::string)data + "/";
unlockMessaging();