From: Fredrik Tolf <fredrik@dolda2000.com>
Date: Thu, 4 Oct 2007 02:47:02 +0000 (+0200)
Subject: Fixed one more bug in the request logger.
X-Git-Tag: 1.0~30
X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=ca63c1a6815698ee09c6da720d80c538e04e98eb;p=doldaconnect.git

Fixed one more bug in the request logger.
---

diff --git a/daemon/reqstat.c b/daemon/reqstat.c
index 9813000..2f51c6d 100644
--- a/daemon/reqstat.c
+++ b/daemon/reqstat.c
@@ -130,6 +130,7 @@ static int init(int hup)
 {
     if(!hup) {
 	GCBREG(newtransfercb, reg, NULL);
+	chfile(confgetvar("reqstat", "file"), NULL);
 	CBREG(confgetvar("reqstat", "file"), conf_update, chfile, NULL, NULL);
     }
     return(0);