diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-08-19 06:12:12 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-08-19 06:12:12 +0000 |
commit | 9067f94db3712e073a0400e38e2344332ca925cb (patch) | |
tree | 8e67451ac666d7ad92d017c6760a77a6cbcb37e4 | |
parent | a5d9076a992a95fe8fae99967d62798165b0e8cb (diff) |
Fixed misused size
-rw-r--r-- | src/htsback.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/htsback.c b/src/htsback.c index 27e3996..3dfba75 100644 --- a/src/htsback.c +++ b/src/htsback.c @@ -4052,9 +4052,8 @@ int back_checksize(httrackp * opt, lien_back * eback, int check_only_totalsize) if (size_to_test >= 0) { /* Interdiction taille par le wizard? */ - if (hts_testlinksize - (opt, eback->url_adr, eback->url_fil, - eback->r.totalsize / 1024) == -1) { + if (hts_testlinksize(opt, eback->url_adr, eback->url_fil, + size_to_test / 1024) == -1) { return 0; /* interdit */ } |