[master] a62cb553d cache_ban: refactor: constify
Nils Goroll
nils.goroll at uplex.de
Wed Feb 26 10:28:05 UTC 2025
commit a62cb553d3a535c9d13a423c8f3d01366261ab1a
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Wed Feb 26 11:27:34 2025 +0100
cache_ban: refactor: constify
diff --git a/bin/varnishd/cache/cache_ban_build.c b/bin/varnishd/cache/cache_ban_build.c
index c9af918f7..8bb7c41f7 100644
--- a/bin/varnishd/cache/cache_ban_build.c
+++ b/bin/varnishd/cache/cache_ban_build.c
@@ -241,7 +241,7 @@ ban_add_spec(struct ban_proto *bp, const struct pvar *pv, int op, const char *a3
}
static const char *
-ban_add_double(struct ban_proto *bp, const struct pvar *pv, int op, double darg)
+ban_add_double(const struct ban_proto *bp, const struct pvar *pv, int op, double darg)
{
uint64_t dtmp;
uint8_t denc[sizeof darg];
More information about the varnish-commit
mailing list