xmlutil:insertEventsfromXMLTV make url not static

Origin commit data
------------------
Commit: 2ac0aa9319
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-10-21 (Thu, 21 Oct 2021)
This commit is contained in:
Jacek Jendrzej
2021-10-21 16:42:16 +02:00
committed by vanhofen
parent d307f59cc2
commit 3533f782ef

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();