mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
zapit: properly initialize arrays in scanbat and scansdt
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8e4907b2db
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Jacek Jendrzej
parent
1582977133
commit
ccdf9d6833
@@ -82,7 +82,7 @@ bool CBat::Read()
|
||||
int secdone[255];
|
||||
int sectotal = -1;
|
||||
|
||||
memset(secdone, 0, 255);
|
||||
memset(secdone, 0, sizeof(secdone));
|
||||
|
||||
cDemux * dmx = new cDemux(dmxnum);
|
||||
dmx->Open(DMX_PSI_CHANNEL);
|
||||
|
@@ -68,7 +68,7 @@ bool CSdt::Read()
|
||||
int sectotal = -1;
|
||||
bool cable_hack_done = false;
|
||||
|
||||
memset(secdone, 0, 255);
|
||||
memset(secdone, 0, sizeof(secdone));
|
||||
cDemux * dmx = new cDemux(dmxnum);
|
||||
dmx->Open(DMX_PSI_CHANNEL);
|
||||
|
||||
|
Reference in New Issue
Block a user