[master] 55e56b3 We no longer need to discard first byte of ident

Poul-Henning Kamp phk at FreeBSD.org
Wed Oct 25 21:28:07 UTC 2017


commit 55e56b36a84c22ef4e80f8e4d91cb5978b262afe
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Oct 25 19:55:49 2017 +0000

    We no longer need to discard first byte of ident

diff --git a/bin/varnishd/cache/cache_panic.c b/bin/varnishd/cache/cache_panic.c
index 652f48a..e778d78 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -629,7 +629,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond,
 	VSB_printf(pan_vsb, "version = %s, vrt api = %u.%u\n",
 	    VCS_version, VRT_MAJOR_VERSION, VRT_MINOR_VERSION);
 	VSB_printf(pan_vsb, "ident = %s,%s\n",
-	    heritage.ident + 1, Waiter_GetName());
+	    heritage.ident, Waiter_GetName());
 	VSB_printf(pan_vsb, "now = %f (mono), %f (real)\n",
 	    VTIM_mono(), VTIM_real());
 


More information about the varnish-commit mailing list