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

  1. --- a/upnphttp.c
  2. +++ b/upnphttp.c
  3. @@ -1259,7 +1259,7 @@
  4. int try_sendfile = 1;
  5. #endif
  6. - while( offset < end_offset )
  7. + while( offset <= end_offset )
  8. {
  9. #if HAVE_SENDFILE
  10. if( try_sendfile )