From 9ce014591ffd9a8170866e0081bf5022b65aba9b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 15 Nov 2013 09:10:31 +0100 Subject: reset badcount on SIGHUP --- pacredir.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pacredir.c b/pacredir.c index 7574c44..8079421 100644 --- a/pacredir.c +++ b/pacredir.c @@ -443,7 +443,9 @@ void sighup_callback(int signal) { while (tmphosts->host != NULL) { tmphosts->pacserve.bad = 0; + tmphosts->pacserve.badcount = 0; tmphosts->pacdbserve.bad = 0; + tmphosts->pacdbserve.badcount = 0; tmphosts = tmphosts->next; } } -- cgit v1.2.3-70-g09d2