X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fmonitord%2Fgenerate_reports.c;h=9b5f418769b72a2b2f787486af3c9475edf5ce19;hp=6e076c4fa2bee1a6416b7f1782372abd47dd04e7;hb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;hpb=301048b51990573e58a30dc4a5bb4ec285cad554 diff --git a/src/monitord/generate_reports.c b/src/monitord/generate_reports.c index 6e076c4..9b5f418 100755 --- a/src/monitord/generate_reports.c +++ b/src/monitord/generate_reports.c @@ -1,11 +1,12 @@ -/* @(#) $Id$ */ +/* @(#) $Id: ./src/monitord/generate_reports.c, 2011/09/08 dcid Exp $ + */ /* Copyright (C) 2010 Trend Micro Inc. * All right 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 2) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * Foundation */ @@ -81,7 +82,7 @@ void generate_reports(int cday, int cmon, int cyear,struct tm *p) { merror("%s: INFO: Report '%s' empty.", ARGV0, mond.reports[s]->title); } - else if(OS_SendCustomEmail(mond.reports[s]->emailto, mond.reports[s]->title, + else if(OS_SendCustomEmail(mond.reports[s]->emailto, mond.reports[s]->title, mond.smtpserver, mond.emailfrom, mond.reports[s]->r_filter.fp, p) != 0) { merror("%s: WARN: Unable to send report email.", ARGV0);