]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Remove commented out code
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Sun, 15 Jul 2012 16:42:36 +0000 (18:42 +0200)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Sun, 15 Jul 2012 16:42:36 +0000 (18:42 +0200)
log.c

diff --git a/log.c b/log.c
index 923a797654bcfc9817e7fd57a7b85701666e47a6..bde768b61a88aad3d48fa3fc906daa8c4bf21462 100644 (file)
--- a/log.c
+++ b/log.c
@@ -1485,17 +1485,6 @@ int main(int argc,char *argv[])
                                }
                        }
 
-                       /*if ( strcmp ( user , sz_Last_User ) != 0 ) {
-                               if ( fp_Write_User )
-                                       fclose( fp_Write_User ) ;
-                               sprintf (tmp3, "%s/%s.unsort", tmp, user);
-
-                               if ((fp_Write_User = MY_FOPEN (tmp3, "a")) == NULL) {
-                                       fprintf (stderr, "%s: (log) %s: %s - %s\n", argv[0], _("Cannot open temporary file"), tmp3, strerror(errno));
-                                       exit (1);
-                               }
-                               strcpy( sz_Last_User , user ) ;
-                       }*/
                        if (fprintf(ufile->file, "%s\t%s\t%s\t%s\t%ld\t%s\t%ld\t%s\n",dia,hora,ip,url,nbytes,code,elap_time,smartfilter)<=0) {
                                debuga(_("Write error in the log file of user %s\n"),user);
                                exit(EXIT_FAILURE);