summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2018-02-25 13:28:19 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2018-02-25 13:28:19 +0100
commitbf497f4aae5f78076a24ed4d9c0a79c2f824d63b (patch)
tree37896690a0d883894610430b3328d51d150109c4
parent6600478675add5e26e8af97c8de8b972a0cc1230 (diff)
downloadvdr-bf497f4aae5f78076a24ed4d9c0a79c2f824d63b.tar.gz
vdr-bf497f4aae5f78076a24ed4d9c0a79c2f824d63b.tar.bz2
Fixed storing timer id in .timer for instant recordings
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index d1eccfca..c5020e6b 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 4.62 2018/02/25 13:07:09 kls Exp $
+ * $Id: menu.c 4.63 2018/02/25 13:28:19 kls Exp $
*/
#include "menu.h"
@@ -5235,7 +5235,7 @@ cRecordControl::cRecordControl(cDevice *Device, cTimers *Timers, cTimer *Timer,
SchedulesStateKey.Remove();
LOCK_RECORDINGS_WRITE;
Recordings->AddByName(fileName);
- SetRecordingTimerId(fileName, cString::sprintf("%d@%s", Timer->Id(), Setup.SVDRPHostName));
+ SetRecordingTimerId(fileName, cString::sprintf("%d@%s", timer->Id(), Setup.SVDRPHostName));
return;
}
else