From 089df8d24f428183154d1a6ea78225e2556a2dd3 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Thu, 21 Oct 2021 13:54:15 +0200 Subject: [PATCH] xmlutil:insertEventsfromXMLTV really make url not static --- 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 884ff0c5b..589ef1f69 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();