From: sb1066 Date: Sun, 11 Jul 2010 17:22:31 +0000 (+0000) Subject: fixed typo in http range check X-Git-Tag: 2.12~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa677995b8d66ca9afc632401523329c6ea8f864;p=thirdparty%2Ftvheadend.git fixed typo in http range check --- diff --git a/src/webui/webui.c b/src/webui/webui.c index ffd6fb890..029821fb7 100644 --- a/src/webui/webui.c +++ b/src/webui/webui.c @@ -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;