mirror of
https://github.com/rofafor/vdr-plugin-femon.git
synced 2023-10-10 13:36:53 +02:00
Fixed a crash in SVDRP (Thanks for Lothar Englisch for reporting).
This commit is contained in:
parent
bf222dc7ff
commit
91d6cb4074
4
HISTORY
4
HISTORY
@ -475,3 +475,7 @@ VDR Plugin 'femon' Revision History
|
||||
|
||||
- Updated for vdr-2.0.0.
|
||||
- Added Slovak translation (Thanks to Milan Hrala).
|
||||
|
||||
2013-xx-xx: Version 2.0.1
|
||||
|
||||
- Fixed a crash in SVDRP (Thanks for Lothar Englisch for reporting).
|
||||
|
8
femon.c
8
femon.c
@ -204,11 +204,11 @@ cString cPluginFemon::SVDRPCommand(const char *Command, const char *Option, int
|
||||
if (dev2)
|
||||
dev = dev2;
|
||||
}
|
||||
if (cReplayControl::NowReplaying() || !dev) {
|
||||
ReplyCode = 550; // Requested action not taken
|
||||
return cString("Cannot open femon plugin while replaying");
|
||||
}
|
||||
if (strcasecmp(Command, "OPEN") == 0) {
|
||||
if (cReplayControl::NowReplaying()) {
|
||||
ReplyCode = 550; // Requested action not taken
|
||||
return cString("Cannot open femon plugin while replaying");
|
||||
}
|
||||
if (!cFemonOsd::Instance())
|
||||
cRemote::CallPlugin(Name());
|
||||
return cString("Opening femon plugin");
|
||||
|
Loading…
Reference in New Issue
Block a user