* src/http.c: Fix H_REDIRECTED

This commit is contained in:
Tim Rühsen 2017-11-03 22:23:04 +01:00
parent a2477d487c
commit 16d066f89c

View File

@ -104,7 +104,7 @@ static struct cookie_jar *wget_cookie_jar;
#define H_REDIRECTED(x) ((x) == HTTP_STATUS_MOVED_PERMANENTLY \
|| (x) == HTTP_STATUS_MOVED_TEMPORARILY \
|| (x) == HTTP_STATUS_SEE_OTHER \
|| (x) == HTTP_STATUS_TEMPORARY_REDIRECT) \
|| (x) == HTTP_STATUS_TEMPORARY_REDIRECT \
|| (x) == HTTP_STATUS_PERMANENT_REDIRECT)
/* HTTP/1.0 status codes from RFC1945, provided for reference. */