summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2016-12-30 14:54:54 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2016-12-30 14:54:54 +0000
commit21ca0912c676d76321924134f9969c41cb896d22 (patch)
tree9c80a61a24e98b95ab79cd8daf5fa7a2a92376b1
parent869d88787db303d581fd6cee5d066d12f3cc9871 (diff)
Notes
-rw-r--r--lib/libfetch/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c
index 0c575d0886f1d..bb509c182dd59 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) {