[master] bd4794e Remember to reset error buffer.
Poul-Henning Kamp
phk at FreeBSD.org
Thu Jun 29 06:41:05 CEST 2017
commit bd4794e60bd80a5b99d51db3834baaf3034eb20f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Jun 29 04:39:52 2017 +0000
Remember to reset error buffer.
diff --git a/lib/libvarnishapi/vsm.c b/lib/libvarnishapi/vsm.c
index e43bd9d..9261645 100644
--- a/lib/libvarnishapi/vsm.c
+++ b/lib/libvarnishapi/vsm.c
@@ -215,6 +215,7 @@ VSM_Start(struct vsm *vd, double patience, int progress)
AN(vd->dname);
t0 = VTIM_mono();
while (1) {
+ VSM_ResetError(vd);
i = VSM_Open(vd);
if (patience <= 0. || i == 0) {
if (progress >= 0 && n > 4)
More information about the varnish-commit
mailing list