[master] d7f25da Constify

Dag Haavi Finstad daghf at varnish-software.com
Thu Mar 8 09:42:07 UTC 2018


commit d7f25da2a6d0b14380ab13831fdfc626c1a81d84
Author: Dag Haavi Finstad <daghf at varnish-software.com>
Date:   Thu Mar 8 10:41:12 2018 +0100

    Constify

diff --git a/bin/varnishd/http2/cache_http2_proto.c b/bin/varnishd/http2/cache_http2_proto.c
index 7b56b44..63401e0 100644
--- a/bin/varnishd/http2/cache_http2_proto.c
+++ b/bin/varnishd/http2/cache_http2_proto.c
@@ -405,7 +405,7 @@ static const struct h2_setting_s * const h2_setting_tbl[] = {
 #define H2_SETTING_TBL_LEN (sizeof(h2_setting_tbl)/sizeof(h2_setting_tbl[0]))
 
 static void
-h2_win_adjust(struct h2_sess *h2, uint32_t oldval, uint32_t newval)
+h2_win_adjust(const struct h2_sess *h2, uint32_t oldval, uint32_t newval)
 {
 	struct h2_req *r2;
 


More information about the varnish-commit mailing list