about summary refs log tree commit homepage
path: root/http_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'http_put.c')
-rw-r--r--http_put.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/http_put.c b/http_put.c
index 999d3a7..9974c93 100644
--- a/http_put.c
+++ b/http_put.c
@@ -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;