eitd:fix some compil warnings

This commit is contained in:
Jacek Jendrzej
2020-01-30 17:33:50 +01:00
parent 5059248d39
commit b1899de3f5
5 changed files with 36 additions and 32 deletions

View File

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