Mailing List Archive

[master] 337706f41 param: Also clarify the C type of timeouts
commit 337706f41e31b2f73577bf180fe4ea5f539644f5
Author: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Date: Tue Jan 11 07:38:16 2022 +0100

param: Also clarify the C type of timeouts

Refs #3766

diff --git a/bin/varnishd/common/common_param.h b/bin/varnishd/common/common_param.h
index fb8eb4775..5cdd35eea 100644
--- a/bin/varnishd/common/common_param.h
+++ b/bin/varnishd/common/common_param.h
@@ -85,7 +85,7 @@ struct params {
#define ptyp_poolparam struct poolparam
#define ptyp_thread_pool_max unsigned
#define ptyp_thread_pool_min unsigned
-#define ptyp_timeout double
+#define ptyp_timeout vtim_dur
#define ptyp_uint unsigned
#define ptyp_vsl_buffer unsigned
#define ptyp_vsl_reclen unsigned
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit