]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - email.c
Make it possible to delete an old temporary directory
[thirdparty/sarg.git] / email.c
diff --git a/email.c b/email.c
index 293601a5e02fcf2a36ded1a4602a5a41198fd1d8..6e4680731439a719af05073b597605c6822a1154 100644 (file)
--- a/email.c
+++ b/email.c
@@ -63,7 +63,7 @@ int geramail(const char *dirname, int debug, const char *email, const char *Temp
                exit(EXIT_FAILURE);
        }
 
-       snprintf(top2,sizeof(top2),"%s/top.tmp",dirname);
+       snprintf(top2,sizeof(top2),"%s/email.int_unsort",dirname);
        if((fp_top2=fopen(top2,"w"))==NULL) {
                debuga(__FILE__,__LINE__,_("Cannot open file \"%s\": %s\n"),top2,strerror(errno));
                exit(EXIT_FAILURE);