Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
imWildCat committed Feb 13, 2023
1 parent d99af6c commit 4cd1358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/webdav/dir_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl output::Page for DirStream {
if i >= self.multistates.response.len() {
break;
}
match self.multistates.response.get(0) {
match self.multistates.response.get(i) {
Some(de) => {
let path = de.href.clone();

Expand Down

0 comments on commit 4cd1358

Please sign in to comment.