]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - getconf.c
Fix recursive directory deletion.
[thirdparty/sarg.git] / getconf.c
index a6adbfaa78dbe8c4991e1a28682de2bbe3102323..ea57749676f4cbd9763a8b578b0a8b9bbd5a96c5 100644 (file)
--- a/getconf.c
+++ b/getconf.c
@@ -289,7 +289,7 @@ static void parmtest(char *buf)
       return;
    }
 
-   if (getparam_string("lastlog",buf,LastLog,sizeof(LastLog))>0) return;
+   if (getparam_int("lastlog",buf,&LastLog)>0) return;
 
    if (getparam_bool("remove_temp_files",buf,&RemoveTempFiles)>0) return;