mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
avoid possible segfault
Origin commit data
------------------
Commit: 7aca39d8e9
Author: TangoCash <eric@loxat.de>
Date: 2021-09-14 (Tue, 14 Sep 2021)
This commit is contained in:
@@ -676,8 +676,11 @@ void *insertEventsfromXMLTV(void * data)
|
||||
}
|
||||
else if (::downloadUrl(url, tmp_name))
|
||||
{
|
||||
readEventsFromXMLTV(tmp_name, ev_count);
|
||||
remove(tmp_name.c_str());
|
||||
if (!access(tmp_name.c_str(), R_OK))
|
||||
{
|
||||
readEventsFromXMLTV(tmp_name, ev_count);
|
||||
remove(tmp_name.c_str());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user