From 4cd13580af99768aea9ccadfaa11a2c292ecd363 Mon Sep 17 00:00:00 2001 From: imWildCat Date: Sun, 12 Feb 2023 22:16:03 -0800 Subject: [PATCH] fix logic --- src/services/webdav/dir_stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/webdav/dir_stream.rs b/src/services/webdav/dir_stream.rs index ccf0bb75618d..51593d11def1 100644 --- a/src/services/webdav/dir_stream.rs +++ b/src/services/webdav/dir_stream.rs @@ -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();