From: Frédéric Marchal Date: Sun, 15 Jul 2012 16:42:36 +0000 (+0200) Subject: Remove commented out code X-Git-Tag: v2.3.3~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3463a6a4130d23568aa896ae2384f8ef57d286ff;p=thirdparty%2Fsarg.git Remove commented out code --- diff --git a/log.c b/log.c index 923a797..bde768b 100644 --- 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);