summaryrefslogtreecommitdiff
path: root/src/htsback.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-08-16 13:10:20 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-08-16 13:10:20 +0000
commitd99ea7fb86c266f9bb69166519b3fed269eadf4b (patch)
tree7e3b679d9933fd42e89ee430e8f6bc517f4dbe37 /src/htsback.c
parenta4ce809b0682708461a56f8fa85e253471ad07f0 (diff)
Make "Unexpected 412/416 error" non-fatal until I find out why in hell this bug is still out there.
Diffstat (limited to 'src/htsback.c')
-rw-r--r--src/htsback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htsback.c b/src/htsback.c
index 7b950c9..27e3996 100644
--- a/src/htsback.c
+++ b/src/htsback.c
@@ -1785,7 +1785,7 @@ int back_add(struct_back * sback, httrackp * opt, cache_back * cache, char *adr,
}
/* Not in cache ; maybe in temporary cache ? Warning: non-movable "url_sav" */
else if (back_unserialize_ref(opt, adr, fil, &itemback) == 0) {
- const long file_size = fsize_utf8(itemback->url_sav);
+ const off_t file_size = fsize_utf8(itemback->url_sav);
/* Found file on disk */
if (file_size > 0) {
@@ -1820,7 +1820,7 @@ int back_add(struct_back * sback, httrackp * opt, cache_back * cache, char *adr,
}
/* Not in cache or temporary cache ; found on disk ? (hack) */
else if (fexist_utf8(save)) {
- off_t sz = fsize_utf8(save);
+ const off_t sz = fsize_utf8(save);
// Bon, là il est possible que le fichier ait été partiellement transféré
// (s'il l'avait été en totalité il aurait été inscrit dans le cache ET existerait sur disque)