mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
Fix compilation under GCC 4.9
Origin commit data
------------------
Branch: ni/coolstream
Commit: cd578d2dc9
Author: Hendi <hendi48@freenet.de>
Date: 2023-01-25 (Wed, 25 Jan 2023)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1685,7 +1685,7 @@ int CTimerList::modifyTimer()
|
||||
if (!strlen(timer->recordingDir))
|
||||
strncpy(timer->recordingDir, g_settings.network_nfs_recordingdir.c_str(), sizeof(timer->recordingDir) - 1);
|
||||
timer_recordingDir = timer->recordingDir;
|
||||
static_assert(sizeof(t_old.recordingDir) >= sizeof(timer->recordingDir));
|
||||
static_assert(sizeof(t_old.recordingDir) >= sizeof(timer->recordingDir), "recordingDir size mismatch");
|
||||
memcpy(t_old.recordingDir, timer->recordingDir, strlen(timer->recordingDir) + 1);
|
||||
|
||||
bool recDirEnabled = (g_settings.recording_type == CNeutrinoApp::RECORDING_FILE);
|
||||
|
Reference in New Issue
Block a user