Skip to content

Commit

Permalink
Fixed bug that caused oversized log files that couldn't be opened wit…
Browse files Browse the repository at this point in the history
…h some text editors
  • Loading branch information
krystalgamer committed Jun 23, 2015
1 parent 3b0aecf commit 9ea063f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions realzip.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,10 @@ void ZipTheFile(zipFile* zf, char *filename)
{
break;
}
if(logs != stdout){
fprintf(logs,"Writting %s to zip file...%" PRIu64 " %% \r", filename, ((written*100)/flsize));}
fprintf(stdout,"Writting %s to zip file...%" PRIu64 " %% \r", filename, ((written*100)/flsize));


}
if(logs != stdout){
fprintf(logs,"\n");}
fprintf(stdout,"\n");

if(written == flsize)
Expand Down

0 comments on commit 9ea063f

Please sign in to comment.