fix CFileHelpers.copyFile() mode again; this time for real

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6098eb8e17
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-07 (Wed, 07 Sep 2016)

Origin message was:
------------------
- fix CFileHelpers.copyFile() mode again; this time for real

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-09-07 17:45:49 +02:00
parent df93ad82ba
commit 0b221325ab
4 changed files with 4 additions and 4 deletions

View File

@@ -1084,7 +1084,7 @@ int CInfoViewerBB::check_ecmInfo()
{
int caid = 0;
CFileHelpers fh;
if (fh.copyFile("/tmp/ecm.info", "/tmp/ecm.info.tmp", 644)) {
if (fh.copyFile("/tmp/ecm.info", "/tmp/ecm.info.tmp", 0644)) {
g_InfoViewer->md5_ecmInfo = filehash((char *)"/tmp/ecm.info.tmp");
caid = parse_ecmInfo("/tmp/ecm.info.tmp");
}