From 4e3325b7f7e30d1013798d74b8e7e0b8471813b1 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 8 Sep 2015 11:08:06 +0200 Subject: Implemented setup options for SVDRP peering --- timers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'timers.c') diff --git a/timers.c b/timers.c index 0e5075fc..77e9096d 100644 --- a/timers.c +++ b/timers.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.c 4.2 2015/09/05 14:42:50 kls Exp $ + * $Id: timers.c 4.3 2015/09/08 10:01:02 kls Exp $ */ #include "timers.h" @@ -939,9 +939,9 @@ bool cTimers::DelRemoteTimers(const char *ServerName) void cTimers::TriggerRemoteTimerPoll(const char *ServerName) { if (ServerName) { - cSVDRPCommand Cmd(ServerName, cString::sprintf("POLL %s TIMERS", SVDRPHostName())); + cSVDRPCommand Cmd(ServerName, cString::sprintf("POLL %s TIMERS", Setup.SVDRPHostName)); if (!Cmd.Execute()) - esyslog("ERROR: can't send 'POLL %s TIMERS' to '%s'", SVDRPHostName(), ServerName); + esyslog("ERROR: can't send 'POLL %s TIMERS' to '%s'", Setup.SVDRPHostName, ServerName); } else { cStringList ServerNames; -- cgit v1.2.3