From a621a5aa92754d6027ac97782d072949829dd442 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 30 Jul 2014 19:33:59 +0200 Subject: [PATCH] cwc: little log fix (auto-reconnect)... --- src/descrambler/cwc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/descrambler/cwc.c b/src/descrambler/cwc.c index 8261ef04..af9f64c4 100755 --- a/src/descrambler/cwc.c +++ b/src/descrambler/cwc.c @@ -1205,8 +1205,8 @@ cwc_thread(void *aux) ts.tv_nsec = 0; tvhlog(LOG_INFO, "cwc", - "%s:%i: Automatic connection attempt in in %d seconds", - cwc->cwc_hostname, cwc->cwc_port, d); + "%s:%i: Automatic connection attempt in %d seconds", + cwc->cwc_hostname, cwc->cwc_port, d-1); pthread_cond_timedwait(&cwc_config_changed, &cwc_mutex, &ts); }