Skip to content
Browse files

bug fix, for merging range wrong

  • Loading branch information...
1 parent 2fa4d21 commit 5e1c748654c344cea64d581dfa53bdce63dd4101 @bigplum committed Apr 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ngx_http_upload_module.c
View
2 ngx_http_upload_module.c
@@ -737,7 +737,7 @@ ngx_http_upload_cleanup_part(void *data)
}
content_range_n.start = u->content_range_n.start;
- content_range_n.end = u->content_range_n.start + u->output_file.offset - 1;
+ content_range_n.end = u->output_file.offset - 1;
content_range_n.total = u->content_range_n.total;
rc = ngx_http_upload_merge_ranges(u, &content_range_n);

0 comments on commit 5e1c748

Please sign in to comment.
Something went wrong with that request. Please try again.