]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Re-enable the deletion of old reports
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Tue, 30 Sep 2014 18:52:15 +0000 (20:52 +0200)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Tue, 30 Sep 2014 18:52:15 +0000 (20:52 +0200)
The old report deletion has been commented out for testing. It is now
reinstated.

lastlog.c

index 064cad611e8b5c4bb2edbbe5e964d20a5b05436c..0b58b5d23f31a948b03fb08022e8108deab3e74e 100644 (file)
--- a/lastlog.c
+++ b/lastlog.c
@@ -179,7 +179,7 @@ void mklastlog(const char *outdir)
                        exit(EXIT_FAILURE);
                }
                strcpy(warea+name_pos,ptr->Name);
-               //unlinkdir(warea,0);
+               unlinkdir(warea,0);
                ftot--;
        }