Mailing List Archive

[master] b5ae81600 Add missing assert
commit b5ae8160039f7e1139a21a88b0f07393d7ca8018
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date: Fri Apr 8 10:36:01 2022 +0000

Add missing assert

diff --git a/vmod/vmod_debug.c b/vmod/vmod_debug.c
index d1149b09b..24c43a263 100644
--- a/vmod/vmod_debug.c
+++ b/vmod/vmod_debug.c
@@ -463,7 +463,7 @@ event_load(VRT_CTX, struct vmod_priv *priv)
VRT_RemoveFilter(ctx, &xyzzy_vfp_rot13, &xyzzy_vdp_rot13);
AZ(VRT_AddFilter(ctx, &xyzzy_vfp_rot13, &xyzzy_vdp_rot13));

- VRT_AddFilter(ctx, NULL, &xyzzy_vdp_pedantic);
+ AZ(VRT_AddFilter(ctx, NULL, &xyzzy_vdp_pedantic));
return (0);
}

_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit