diff options
-rw-r--r-- | src/htsback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htsback.c b/src/htsback.c index f1bf273..dc34da1 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -766,7 +766,7 @@ int back_finalize(httrackp* opt,cache_back* cache,struct_back* sback,int p) { } else { /* Partial file, but marked as "ok" ? */ if (opt->log!=NULL) { - HTS_LOG(opt,LOG_WARNING); fprintf(opt->log,"file not stored in cache due to bogus state (incomplete type): %s%s"LF,back[p].url_adr,back[p].url_fil); + HTS_LOG(opt,LOG_WARNING); fprintf(opt->log,"file not stored in cache due to bogus state (incomplete type caused by %s (%d)): %s%s"LF,back[p].r.msg,back[p].url_adr,back[p].url_fil); } } } @@ -2183,7 +2183,7 @@ static int slot_can_be_cleaned(const lien_back* back) { && (!back->testmode) // not test mode && (strnotempty(back->url_sav)) // filename exists && (HTTP_IS_OK(back->r.statuscode)) // HTTP "OK" - && (back->r.size > 0) // size>0 + && (back->r.size >= 0) // size>=0 ; } |