summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2019-05-06 15:14:04 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2019-05-06 15:14:04 +0200
commit99dad019cc2eeec43380ea2efb925982831c8a66 (patch)
tree140270e89806023f988581a58a0cfdf4c563e054 /svdrp.c
parentff2af3dffd2d2f85e147cc7417bfbac1dbbea9c1 (diff)
downloadvdr-99dad019cc2eeec43380ea2efb925982831c8a66.tar.gz
vdr-99dad019cc2eeec43380ea2efb925982831c8a66.tar.bz2
Fixed handling remote timers in case the response to LSTT is '550 No timers defined'
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c7
1 files changed, 4 insertions, 3 deletions
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;
}
}