diff options
Diffstat (limited to 'http_put.c')
-rw-r--r-- | http_put.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -284,7 +284,8 @@ static bool lengths_ok(struct mog_http *http) * WARNING: Eric Wong sucks at arithmetic, check this: */ if (http->_p.content_len >= 0) { - off_t expect = http->_p.range_end - http->_p.range_beg + 1; + off_t expect = http->_p.range_end - + http->_p.range_beg + 1; if (http->_p.content_len != expect) return false; |