mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
zapit.cpp: fix possible seqfault
Origin commit data
------------------
Commit: e367eea613
Author: GetAway <get-away@t-online.de>
Date: 2021-12-19 (Sun, 19 Dec 2021)
This commit is contained in:
@@ -1267,6 +1267,8 @@ void CZapit::Rezap(void)
|
||||
{
|
||||
if (currentMode & RECORD_MODE)
|
||||
return;
|
||||
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_ts)
|
||||
return;
|
||||
if(config.rezapTimeout > 0)
|
||||
sleep(config.rezapTimeout);
|
||||
if(current_channel)
|
||||
|
Reference in New Issue
Block a user