diff --git a/wget-416-but-file-not-complete.patch b/wget-416-but-file-not-complete.patch index 7d82867..6df7334 100644 --- a/wget-416-but-file-not-complete.patch +++ b/wget-416-but-file-not-complete.patch @@ -6,11 +6,11 @@ Index: wget-1.19.1/src/http.c } } -+ if (statcode == HTTP_STATUS_RANGE_NOT_SATISFIABLE) ++ // if (statcode == HTTP_STATUS_RANGE_NOT_SATISFIABLE) + { -+ logprintf (LOG_VERBOSE, "hs->restval=%s\n", number_to_static_string(hs->restval)); -+ logprintf (LOG_VERBOSE, "contrange=%s\n", number_to_static_string(contrange)); -+ logprintf (LOG_VERBOSE, "contlen=%s\n\n", number_to_static_string(contlen)); ++ fprintf (stderr, "hs->restval=%s\n", number_to_static_string(hs->restval)); ++ fprintf (stderr, "contrange=%s\n", number_to_static_string(contrange)); ++ fprintf (stderr, "contlen=%s\n\n", number_to_static_string(contlen)); + } if (statcode == HTTP_STATUS_RANGE_NOT_SATISFIABLE || (!opt.timestamping && hs->restval > 0 && statcode == HTTP_STATUS_OK