mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
supplement to 323894ba12
Origin commit data
------------------
Branch: ni/coolstream
Commit: df89326f60
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-12-30 (Fri, 30 Dec 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -77,7 +77,7 @@ diseq_test_param_t diseqc_test[] = {
|
|||||||
|
|
||||||
bool CServiceScan::TestDiseqcConfig(int num)
|
bool CServiceScan::TestDiseqcConfig(int num)
|
||||||
{
|
{
|
||||||
if(num >= OPERATOR_MAX) {
|
if(num >= OPERATOR_MAX || num < 0) {
|
||||||
INFO("[fast scan] invalid operator %d", num);
|
INFO("[fast scan] invalid operator %d", num);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -218,7 +218,7 @@ bool CServiceScan::ScanFast()
|
|||||||
{
|
{
|
||||||
fast_scan_type_t * fast_type = (fast_scan_type_t *) scan_arg;
|
fast_scan_type_t * fast_type = (fast_scan_type_t *) scan_arg;
|
||||||
fs_operator_t num = fast_type->op;
|
fs_operator_t num = fast_type->op;
|
||||||
if(num >= OPERATOR_MAX) {
|
if(num >= OPERATOR_MAX || num < 0) {
|
||||||
INFO("[fast scan] invalid operator %d", num);
|
INFO("[fast scan] invalid operator %d", num);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -231,7 +231,7 @@ bool CServiceScan::ScanFast()
|
|||||||
bool CServiceScan::ScanFast(int num, bool reload)
|
bool CServiceScan::ScanFast(int num, bool reload)
|
||||||
{
|
{
|
||||||
fast_scan_operator_t *op;
|
fast_scan_operator_t *op;
|
||||||
if(num >= OPERATOR_MAX) {
|
if(num >= OPERATOR_MAX || num < 0) {
|
||||||
INFO("[fast scan] invalid operator %d", num);
|
INFO("[fast scan] invalid operator %d", num);
|
||||||
goto _err;
|
goto _err;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user