[master] 337706f41 param: Also clarify the C type of timeouts
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Jan 11 06:40:05 UTC 2022
commit 337706f41e31b2f73577bf180fe4ea5f539644f5
Author: Dridi Boukelmoune <dridi.boukelmoune at 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
More information about the varnish-commit
mailing list