diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-02 13:44:24 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-02 13:44:24 +0100 |
commit | ddec0a101bfb97caa23ca731b8041547717a5eb3 (patch) | |
tree | 10ae250d9740fae442ca54466ca69e175f223ee9 /config.c | |
parent | 2a31a4eca81b75bfab9a9fbbe2aa8f9eeec38f9f (diff) | |
download | vdr-ddec0a101bfb97caa23ca731b8041547717a5eb3.tar.gz vdr-ddec0a101bfb97caa23ca731b8041547717a5eb3.tar.bz2 |
Changed the [dei]syslog macros to use var args; fixed error handling in establishing an SVDRP connection
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.c 1.78 2002/02/01 15:35:23 kls Exp $ + * $Id: config.c 1.79 2002/02/02 12:45:30 kls Exp $ */ #include "config.h" @@ -296,9 +296,8 @@ bool cChannel::Switch(cDvbApi *DvbApi, bool Log) if (!DvbApi) DvbApi = cDvbApi::PrimaryDvbApi; if (!DvbApi->Recording() && !groupSep) { - if (Log) { + if (Log) isyslog(LOG_INFO, "switching to channel %d", number); - } for (int i = 3; i--;) { switch (DvbApi->SetChannel(number, frequency, polarization, diseqc, srate, vpid, apid1, apid2, dpid1, dpid2, tpid, ca, pnr)) { case scrOk: return true; |