From f696596b1ec5f883944a06a363ff73255763f566 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Thu, 21 Oct 2021 16:42:16 +0200 Subject: [PATCH] xmlutil:insertEventsfromXMLTV really make url not static Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/12b23bf915d6b0addb9af65639721165ba1257ad Author: Jacek Jendrzej Date: 2021-10-21 (Thu, 21 Oct 2021) --- src/eitd/xmlutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eitd/xmlutil.cpp b/src/eitd/xmlutil.cpp index ace9f7f08..ab49a3aa7 100644 --- a/src/eitd/xmlutil.cpp +++ b/src/eitd/xmlutil.cpp @@ -685,7 +685,7 @@ void *insertEventsfromXMLTV(void * data) reader_ready = true; pthread_exit(NULL); } - static std::string url = (std::string)(char *) data; + std::string url = (std::string)(char *) data; std::string tmp_name = randomFile(getFileExt(url), "/tmp", 8); int64_t now = time_monotonic_ms();