From 79bb75a34c3a447ed52acffff86fa5ef3d8722f0 Mon Sep 17 00:00:00 2001 From: des Date: Mon, 9 Jan 2017 14:13:47 +0000 Subject: MFH (r310823): fix multi-line CONNECT responses PR: 194483 --- lib/libfetch/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libfetch/http.c') diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c index 0c575d0..bb509c1 100644 --- a/lib/libfetch/http.c +++ b/lib/libfetch/http.c @@ -1432,7 +1432,7 @@ http_connect(struct url *URL, struct url *purl, const char *flags) default: /* ignore */ ; } - } while (h < hdr_end); + } while (h > hdr_end); } if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0 && fetch_ssl(conn, URL, verbose) == -1) { -- cgit v1.1