diff options
Diffstat (limited to 'http_get.c')
-rw-r--r-- | http_get.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -88,7 +88,8 @@ static off_t http_get_resp_hdr(struct mog_http *http, struct stat *sb) goto resp_200; count = (long long)(sb->st_size - offset); } else { /* bytes=M-N*/ - assert(http->_p.range_beg >= 0 && http->_p.range_end >= 0 + assert(http->_p.range_beg >= 0 + && http->_p.range_end >= 0 && "should've sent 416"); offset = (long long)http->_p.range_beg; |