From: Fredrik Tolf Date: Sun, 14 Oct 2007 15:39:13 +0000 (+0200) Subject: Fixed bug in reqstat. X-Git-Tag: 1.0~8 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=56c91062e3ba47c3519998b5afb35a2624db78bd Fixed bug in reqstat. --- diff --git a/daemon/reqstat.c b/daemon/reqstat.c index 838f611..cbe1c72 100644 --- a/daemon/reqstat.c +++ b/daemon/reqstat.c @@ -117,7 +117,7 @@ static int chfile(struct configvar *var, void *uudata) { if(fn != NULL) free(fn); - if(var->val.str[0] == L'0') { + if(var->val.str[0] == L'\0') { fn = NULL; } else { if((fn = icwcstombs(var->val.str, NULL)) == NULL)