use CFileHelpers::copyFile instead of own function; cleanup helpers

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6d01d59b53
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-11 (Thu, 11 Aug 2016)

Origin message was:
------------------
- use CFileHelpers::copyFile instead of own function; cleanup helpers

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-08-11 13:52:49 +02:00
parent b854975881
commit ec73df296a
6 changed files with 15 additions and 50 deletions

View File

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