[master] a3533da Remember to initialize the version number, so we don't start out processing all the old entries, unless -d was specified.
Poul-Henning Kamp
phk at varnish-cache.org
Mon Oct 29 21:35:47 CET 2012
commit a3533dae312582657c519a9f8ce7da6d906ad53f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Oct 29 20:34:56 2012 +0000
Remember to initialize the version number, so we don't start out
processing all the old entries, unless -d was specified.
Fixes #1170
diff --git a/lib/libvarnishapi/vsl.c b/lib/libvarnishapi/vsl.c
index da9e5df..1c36b3f 100644
--- a/lib/libvarnishapi/vsl.c
+++ b/lib/libvarnishapi/vsl.c
@@ -145,6 +145,7 @@ vsl_open(struct VSM_data *vd)
}
if (vsl->log_ptr >= vsl->log_end)
vsl->log_ptr = vsl->log_start + 1;
+ vsl->last_seq = vsl->log_start[0];
return (0);
}
More information about the varnish-commit
mailing list