xmlutil:insertEventsfromXMLTV make url not static

This commit is contained in:
Jacek Jendrzej
2021-10-21 13:42:37 +02:00
parent ede935bdce
commit 01bd7d51d0

View File

@@ -685,8 +685,7 @@ void *insertEventsfromXMLTV(void * data)
reader_ready = true;
pthread_exit(NULL);
}
static std::string url = "";
url = (std::string)(char *) data;
static std::string url = (std::string)(char *) data;
std::string tmp_name = randomFile(getFileExt(url), "/tmp", 8);
int64_t now = time_monotonic_ms();