]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - email.c
Imported sarg 2.0.9
[thirdparty/sarg.git] / email.c
diff --git a/email.c b/email.c
index e4cbbe2768274eabbb53ca77d2a7112a20d22da0..7ec536011fc87f2ae811e6faba27fbeae25b0025 100644 (file)
--- a/email.c
+++ b/email.c
@@ -1,7 +1,7 @@
 /*
- * AUTHOR: Pedro Lineu Orso                          orso@brturbo.com.br
+ * AUTHOR: Pedro Lineu Orso                      orso@penguintech.com.br
  *                                                            1998, 2005
- * SARG Squid Analysis Report Generator            http://sarg-squid.org
+ * SARG Squid Analysis Report Generator      http://sarg.sourceforge.net
  *
  * SARG donations:
  *      please look at http://sarg.sourceforge.net/donations.php
@@ -149,7 +149,7 @@ int geramail(const char *dirname, int debug, const char *outdir, int userip, cha
    fclose(fp_in);
    fclose(fp_top2);
 
-   sprintf(csort,"sort -n -T %s -r -k 2,2 -o %s %s", TempDir, top1, top2);
+   sprintf(csort,"sort -n -T %s -r -k 2,2 -o '%s' '%s'", TempDir, top1, top2);
    system(csort);
 
    unlink(top2);