]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Remove one unused parameter from the mail function.
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Sun, 12 Jul 2015 19:09:47 +0000 (21:09 +0200)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Sun, 12 Jul 2015 19:09:47 +0000 (21:09 +0200)
email.c
include/defs.h
report.c

diff --git a/email.c b/email.c
index a04a097a47deb5bd2846984396714a03115bf198..b244621009f8d93b06603792f2c5f72f06e8a3a0 100644 (file)
--- 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;
index 304b224b98a1ef439c0277538e8c355c4ec12c36..a40c1cef0b3194206e78345bbeb8db886696eb4b 100644 (file)
@@ -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);
index 45414de17a20c932f05415f90b36405937b9a765..e1df5ba1e8b6630d2eef553255f144fbbc138e9d 100644 (file)
--- 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);