mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
src/neutrino.cpp:timeshiftDir : fix autodelete
Origin commit data
------------------
Branch: ni/coolstream
Commit: 618fa78a5a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-11-02 (Fri, 02 Nov 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -547,7 +547,9 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
std::string filename = e->d_name;
|
||||
if ((filename.find("_temp.ts") == filename.size() - 8) || (filename.find("_temp.xml") == filename.size() - 9))
|
||||
{
|
||||
remove(filename.c_str());
|
||||
std::string timeshiftDir_filename= timeshiftDir;
|
||||
timeshiftDir_filename+= "/" + filename;
|
||||
remove(timeshiftDir_filename.c_str());
|
||||
}
|
||||
}
|
||||
closedir(d);
|
||||
|
Reference in New Issue
Block a user