[master] 3db2f6a Constify

Poul-Henning Kamp phk at FreeBSD.org
Thu Mar 9 15:47:05 CET 2017


commit 3db2f6a0b74c48e41a220d41cf56d21531eeb4a2
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Mar 9 14:45:59 2017 +0000

    Constify

diff --git a/bin/varnishd/cache/cache_backend_probe.c b/bin/varnishd/cache/cache_backend_probe.c
index b12b94b..4c18854 100644
--- a/bin/varnishd/cache/cache_backend_probe.c
+++ b/bin/varnishd/cache/cache_backend_probe.c
@@ -92,7 +92,7 @@ static struct lock			vbp_mtx;
 static pthread_cond_t			vbp_cond;
 static struct binheap			*vbp_heap;
 
-static unsigned char vbp_proxy_local[] = {
+static const unsigned char vbp_proxy_local[] = {
 	0x0d, 0x0a, 0x0d, 0x0a, 0x00, 0x0d, 0x0a, 0x51,
 	0x55, 0x49, 0x54, 0x0a, 0x20, 0x00, 0x00, 0x00,
 };



More information about the varnish-commit mailing list