fix build
This commit is contained in:
parent
e1c7a3fb01
commit
e5ed3077b5
1 changed files with 1 additions and 1 deletions
|
@ -4794,7 +4794,7 @@ inline bool range_error(Request &req, Response &res) {
|
||||||
}
|
}
|
||||||
|
|
||||||
inline std::pair<size_t, size_t>
|
inline std::pair<size_t, size_t>
|
||||||
get_range_offset_and_length(Range r, size_t content_length) {
|
get_range_offset_and_length(Range r, size_t /*content_length*/) {
|
||||||
assert(r.first != -1 && r.second != -1);
|
assert(r.first != -1 && r.second != -1);
|
||||||
assert(0 <= r.first && r.first < static_cast<ssize_t>(content_length));
|
assert(0 <= r.first && r.first < static_cast<ssize_t>(content_length));
|
||||||
assert(r.first <= r.second &&
|
assert(r.first <= r.second &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue