fixed typo in http range check
This commit is contained in:
parent
98202725cb
commit
aa677995b8
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ page_dvrfile(http_connection_t *hc, const char *remain, void *opaque)
|
|||
if(file_end < 0 || file_end >= st.st_size)
|
||||
return 200;
|
||||
|
||||
if(file_start > 0 || file_end)
|
||||
if(file_start > file_end)
|
||||
return 200;
|
||||
|
||||
content_len = file_end - file_start+1;
|
||||
|
|
Loading…
Add table
Reference in a new issue