1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a wrong variable name in cFileName::cFileName()

This commit is contained in:
Klaus Schmidinger 2019-05-29 14:23:40 +02:00
parent c2634a7ccf
commit 712523f004
2 changed files with 4 additions and 3 deletions

View File

@ -9348,7 +9348,7 @@ Video Disk Recorder Revision History
Senzel). Senzel).
- Official release. - Official release.
2019-05-28: Version 2.4.1 2019-05-29: Version 2.4.1
- Fixed handling the tfRecording flag in the SVDRP commands MODT and UPDT (reported - Fixed handling the tfRecording flag in the SVDRP commands MODT and UPDT (reported
by Johann Friedrichs). by Johann Friedrichs).
@ -9414,3 +9414,4 @@ Video Disk Recorder Revision History
frame size. frame size.
- Fixed inconsistent behavior in case only certain devices are used (selected by the '-D' - Fixed inconsistent behavior in case only certain devices are used (selected by the '-D'
option). option).
- Fixed a wrong variable name in cFileName::cFileName().

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: recording.c 4.26 2019/05/07 09:22:34 kls Exp $ * $Id: recording.c 4.27 2019/05/28 21:47:32 kls Exp $
*/ */
#include "recording.h" #include "recording.h"
@ -2896,7 +2896,7 @@ cFileName::cFileName(const char *FileName, bool Record, bool Blocking, bool IsPe
// Prepare the file name: // Prepare the file name:
fileName = MALLOC(char, strlen(FileName) + RECORDFILESUFFIXLEN); fileName = MALLOC(char, strlen(FileName) + RECORDFILESUFFIXLEN);
if (!fileName) { if (!fileName) {
esyslog("ERROR: can't copy file name '%s'", fileName); esyslog("ERROR: can't copy file name '%s'", FileName);
return; return;
} }
strcpy(fileName, FileName); strcpy(fileName, FileName);