summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--methods/http.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/methods/http.cc b/methods/http.cc
index 2e7fca307..c40336410 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -711,11 +711,10 @@ ResultState HttpServerState::Die(RequestState &Req)
_error->Errno("write", _("Error writing to the file"));
return ResultState::TRANSIENT_ERROR;
}
-
- // Done
- if (In.IsLimit() == true)
- return ResultState::SUCCESSFUL;
}
+ // Done
+ if (In.IsLimit() == true)
+ return ResultState::SUCCESSFUL;
}
// See if this is because the server finished the data stream