aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index 2df42dd..d96ac17 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -642,7 +642,7 @@ async fn handle_download_object(
642 } 642 }
643 643
644 if let Some(content_length) = result.content_length() { 644 if let Some(content_length) = result.content_length() {
645 if content_length < 0 { 645 if content_length > 0 {
646 match state 646 match state
647 .dl_limiter 647 .dl_limiter
648 .lock() 648 .lock()