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:
@@ -347,7 +347,7 @@ int CTimerdClient::addTimerEvent( CTimerd::CTimerEventTypes evType, void* data,
|
||||
tri.recordingSafety = ri->recordingSafety;
|
||||
tri.autoAdjustToEPG = ri->autoAdjustToEPG;
|
||||
tri.channel_ci = ri->channel_ci; //NI
|
||||
strncpy(tri.recordingDir, ri->recordingDir, RECORD_DIR_MAXLEN-1);
|
||||
strncpy(tri.recordingDir, ri->recordingDir, RECORD_DIR_MAXLEN);
|
||||
length = sizeof( CTimerd::TransferRecordingInfo);
|
||||
data = &tri;
|
||||
}
|
||||
|
Reference in New Issue
Block a user