From: Frederic Marchal Date: Sun, 12 Jul 2015 19:09:47 +0000 (+0200) Subject: Remove one unused parameter from the mail function. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57b01ce6fa1ea0622d91fb1ebcabcb2ccb648ba6;p=thirdparty%2Fsarg.git Remove one unused parameter from the mail function. --- diff --git a/email.c b/email.c index a04a097..b244621 100644 --- a/email.c +++ b/email.c @@ -31,7 +31,7 @@ extern struct globalstatstruct globstat; #endif -int geramail(const char *dirname, int debug, const char *outdir, const char *email, const char *TempDir) +int geramail(const char *dirname, int debug, const char *email, const char *TempDir) { FileObject *fp_in; FILE *fp_top1, *fp_top2, *fp_top3; diff --git a/include/defs.h b/include/defs.h index 304b224..a40c1ce 100644 --- a/include/defs.h +++ b/include/defs.h @@ -214,7 +214,7 @@ bool is_download_suffix(const char *url); void download_cleanup(void); // email.c -int geramail(const char *dirname, int debug, const char *outdir, const char *email, const char *TempDir); +int geramail(const char *dirname, int debug, const char *email, const char *TempDir); // exclude.c void gethexclude(const char *hexfile, int debug); diff --git a/report.c b/report.c index 45414de..e1df5ba 100644 --- a/report.c +++ b/report.c @@ -429,7 +429,7 @@ void gerarel(void) if(SuccessfulMsg) debuga(__FILE__,__LINE__,_("Successful report generated on %s\n"),outdirname); } else { - geramail(outdirname, debug, outdir, email, tmp); + geramail(outdirname, debug, email, tmp); if((strcmp(email,"stdout") != 0) && SuccessfulMsg) debuga(__FILE__,__LINE__,_("Successful report generated and sent to %s\n"),email);