mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-10 07:08:28 +02:00
update-check: move init of object CFlashUpdate out of while-loop
Origin commit data
------------------
Branch: ni/coolstream
Commit: 432b2b055d
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-04 (Mon, 04 Sep 2017)
Origin message was:
------------------
- update-check: move init of object CFlashUpdate out of while-loop
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -88,11 +88,11 @@ void* CFlashUpdateCheck::c4u_proc(void*)
|
||||
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, 0);
|
||||
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, 0);
|
||||
|
||||
CFlashUpdate flashupdate;
|
||||
|
||||
//printf("[CFlashUpdateCheck] %s: starting loop\n", __FUNCTION__);
|
||||
while(1)
|
||||
{
|
||||
CFlashUpdate flashupdate;
|
||||
|
||||
//printf("[CFlashUpdateCheck]: check for updates\n");
|
||||
if (flashupdate.checkOnlineVersion())
|
||||
{
|
||||
|
Reference in New Issue
Block a user