You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
199 B

--- a/upnphttp.c
+++ b/upnphttp.c
@@ -1259,7 +1259,7 @@
int try_sendfile = 1;
#endif
- while( offset < end_offset )
+ while( offset <= end_offset )
{
#if HAVE_SENDFILE
if( try_sendfile )