diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 13:00:04 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 13:00:04 +0000 |
commit | 4aec03f2cbabc19cf31e7d6f9fdcd6c84cfa861e (patch) | |
tree | 06ba27421c30be1aa1f3c4e911e7a7c7d4ed28fc /src/htscore.c | |
parent | 660b569b0980fc8f71b03ed666dd02eec8388b4c (diff) |
httrack 3.42.3
Diffstat (limited to 'src/htscore.c')
-rw-r--r-- | src/htscore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htscore.c b/src/htscore.c index 370f529..41c27a0 100644 --- a/src/htscore.c +++ b/src/htscore.c @@ -167,7 +167,7 @@ RUN_CALLBACK0(opt, end); \ cache.zipInput = NULL; \ } \ if (cache.olddat) { fclose(cache.olddat); cache.olddat=NULL; } \ - if (cache.lst) { fclose(cache.lst); cache.lst=NULL; } \ + if (cache.lst) { fclose(cache.lst); cache.lst=opt->state.strc.lst=NULL; } \ if (cache.txt) { fclose(cache.txt); cache.txt=NULL; } \ if (opt->log) fflush(opt->log); \ if (opt->log) fflush(opt->log);\ @@ -1901,7 +1901,7 @@ jump_if_done: // purger! if (cache.lst) { - fclose(cache.lst); cache.lst=NULL; + fclose(cache.lst); cache.lst=opt->state.strc.lst=NULL; if (opt->delete_old) { FILE *old_lst,*new_lst; // |