Origin commit data
------------------
Branch: ni/coolstream
Commit: 854a86ba9f
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-12 (Fri, 12 Jan 2024)

Origin message was:
------------------
- update: fix cb526d15ba

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2024-01-12 21:36:00 +01:00
parent ad57380dfa
commit f4bafe1f0f

View File

@@ -201,7 +201,7 @@ bool CFlashUpdate::checkOnlineVersion()
CFlashVersionInfo versionInfo(version);
newVer = versionInfo.getVersion();
dprintf(DEBUG_NORMAL, "[update] url %s version %s (%d) timestamp %s (%ld) md5 %s name %s\n", url.c_str(), version.c_str(), newVer, versionInfo.getDate(), versionInfo.getDateTime(), md5.c_str(), name.c_str());
if (versionInfo.snapshot <= '2' && (newVer > curVer || versionInfo.getDateTime() > curInfo.getDateTime()))
if (versionInfo.snapshot <= '9' && (newVer > curVer || versionInfo.getDateTime() > curInfo.getDateTime()))
{
newfound = true;
dprintf(DEBUG_NORMAL, "[update] found new image\n");
@@ -298,10 +298,8 @@ bool CFlashUpdate::selectHttpImage(void)
CFlashVersionInfo versionInfo(versions[i]);
newVer = versionInfo.getVersion();
dprintf(DEBUG_NORMAL, "[update] url %s version %s (%d) timestamp %s (%ld) md5 %s name %s\n", url.c_str(), version.c_str(), newVer, versionInfo.getDate(), versionInfo.getDateTime(), md5.c_str(), name.c_str());
if (versionInfo.snapshot <= '2' && (newVer > curVer || versionInfo.getDateTime() > curInfo.getDateTime()))
if (versionInfo.snapshot <= '9' && (newVer > curVer || versionInfo.getDateTime() > curInfo.getDateTime()))
newfound = 1;
if (versionInfo.snapshot <= '2')
enabled = false;
fileTypes[i] = versionInfo.snapshot;
std::string description = versionInfo.getType(true);
description += " ";