implement own tmp function / satify compiler

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
TangoCash
2018-09-02 01:42:51 +02:00
committed by Thilo Graf
parent bbecf5c764
commit cf885b1027
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();