mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
timerdclient: fix -Wstringop-truncation warnings
Origin commit data
------------------
Branch: ni/coolstream
Commit: af3abc9b8e
Author: Markus Volk <f_l_k@t-online.de>
Date: 2020-01-30 (Thu, 30 Jan 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -121,7 +121,7 @@ class CTimerdClient:private CBasicClient
|
||||
eventInfo.recordingSafety = safety;
|
||||
eventInfo.autoAdjustToEPG = autoAdjust;
|
||||
eventInfo.channel_ci = channel_ci; //NI
|
||||
strncpy(eventInfo.recordingDir, recDir.c_str(), RECORD_DIR_MAXLEN);
|
||||
strncpy(eventInfo.recordingDir, recDir.c_str(), RECORD_DIR_MAXLEN-1);
|
||||
return addTimerEvent(CTimerd::TIMER_RECORD, &eventInfo, announcetime, alarmtime, stoptime, evrepeat, repeatcount,forceAdd);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user