X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fmonitord%2Fmonitord.c;h=33ab59d3adc1da9cf26135eaa63bd58861bfc74c;hp=b68d98423510d7cb1bd6173eb4ba11994bbf8f1c;hb=301048b51990573e58a30dc4a5bb4ec285cad554;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a diff --git a/src/monitord/monitord.c b/src/monitord/monitord.c index b68d984..33ab59d 100755 --- a/src/monitord/monitord.c +++ b/src/monitord/monitord.c @@ -1,11 +1,11 @@ -/* @(#) $Id: monitord.c,v 1.9 2009/06/24 17:06:27 dcid Exp $ */ +/* @(#) $Id$ */ /* Copyright (C) 2009 Trend Micro Inc. * All rights reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public - * License (version 3) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * Foundation */ @@ -77,6 +77,9 @@ void Monitord() /* Day changed, deal with log files */ if(today != p->tm_mday) { + /* Generate reports. */ + generate_reports(today, thismonth, thisyear, p); + manage_files(today, thismonth, thisyear); today = p->tm_mday;