mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 09:05:33 +00:00
fix totals increment position
This commit is contained in:
parent
ac88344098
commit
5c72742f8d
1 changed files with 1 additions and 1 deletions
|
|
@ -356,8 +356,8 @@ fn list(info: &TorrentMetaV1Info<ByteBufOwned>, limit: usize) -> Option<Vec<(Str
|
||||||
let mut i = files.iter();
|
let mut i = files.iter();
|
||||||
let mut t = 0;
|
let mut t = 0;
|
||||||
for f in i.by_ref() {
|
for f in i.by_ref() {
|
||||||
t += 1;
|
|
||||||
if t < limit {
|
if t < limit {
|
||||||
|
t += 1;
|
||||||
b.push((
|
b.push((
|
||||||
String::from_utf8(
|
String::from_utf8(
|
||||||
f.path
|
f.path
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue