[master] acd9cab No idea how I overlooked that wl was unsigned.
Poul-Henning Kamp
phk at FreeBSD.org
Wed Apr 11 08:29:09 UTC 2018
commit acd9cab19f21a70504f13415687b5696f8428eaa
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Apr 11 08:27:43 2018 +0000
No idea how I overlooked that wl was unsigned.
Doesn't change the logic however.
diff --git a/bin/varnishd/http1/cache_http1_fsm.c b/bin/varnishd/http1/cache_http1_fsm.c
index c88fffd..6506909 100644
--- a/bin/varnishd/http1/cache_http1_fsm.c
+++ b/bin/varnishd/http1/cache_http1_fsm.c
@@ -247,7 +247,7 @@ http1_reembark(struct worker *wrk, struct req *req)
static int v_matchproto_(vtr_minimal_response_f)
http1_minimal_response(struct req *req, uint16_t status)
{
- size_t wl, l;
+ ssize_t wl, l;
char buf[80];
const char *reason;
More information about the varnish-commit
mailing list