summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--svdrp.c7
2 files changed, 5 insertions, 3 deletions
diff --git a/HISTORY b/HISTORY
index 303e7805..24a37b91 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9401,3 +9401,4 @@ Video Disk Recorder Revision History
- Fixed a compiler warning and a possible buffer overflow in cCiMMI::SendAnswer().
- Fixed a possible invalid lock sequence if the main menu is open and the user
switches to a channel that is currently not available, using the Channel+/- keys.
+- Fixed handling remote timers in case the response to LSTT is '550 No timers defined'.
diff --git a/svdrp.c b/svdrp.c
index 823f23e1..861a0835 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
- * $Id: svdrp.c 4.38 2018/04/19 09:45:08 kls Exp $
+ * $Id: svdrp.c 4.39 2019/05/06 15:11:15 kls Exp $
*/
#include "svdrp.h"
@@ -508,9 +508,10 @@ bool cSVDRPClient::GetRemoteTimers(cStringList &Response)
int Code = SVDRPCode(s);
if (Code == 250)
strshift(s, 4);
+ else if (Code == 550)
+ Response.Clear();
else {
- if (Code != 550)
- esyslog("ERROR: %s: %s", ServerName(), s);
+ esyslog("ERROR: %s: %s", ServerName(), s);
return false;
}
}