summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-04-28 19:43:45 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-04-28 19:43:45 +0000
commit7aad37490cd854a3a0525b06865e50612a106ac8 (patch)
tree0676d97106dbbbd310e4715c469f8480284bd28e /src
parent94cb4e54ba44c8dd0284a5b2780bd7ca080b34ac (diff)
Verbose incomplete type
Diffstat (limited to 'src')
-rw-r--r--src/htsback.c4
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
;
}