summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2017-01-09 14:13:47 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2017-01-09 14:13:47 +0000
commit828a4289013bbdbfe8048697bbbd81e78537701b (patch)
tree0b305c121b7c19f2840aaff8ef8dde8c7784b3a6
parent9840f9b80f5899bfbcf948bc7a4fa9946fd47a9c (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) {