implement own tmp function / satify compiler

Origin commit data
------------------
Branch: ni/coolstream
Commit: 841b6efd95
Author: TangoCash <eric@loxat.de>
Date: 2018-09-02 (Sun, 02 Sep 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2018-09-02 01:42:51 +02:00
committed by vanhofen
parent 683647b30e
commit 0ec17ca393
4 changed files with 23 additions and 6 deletions

View File

@@ -645,9 +645,7 @@ void *insertEventsfromXMLTV(void * data)
}
std::string url = (char *) data;
std::string url_ext = getFileExt(url);
std::string tmp_name = "/tmp/.xmltv";
tmp_name = tmp_name + "." + url_ext;
std::string tmp_name = genTmpName(url_ext,8);
int64_t now = time_monotonic_ms();