[master] b5ae81600 Add missing assert

Poul-Henning Kamp phk at FreeBSD.org
Fri Apr 8 10:37:09 UTC 2022


commit b5ae8160039f7e1139a21a88b0f07393d7ca8018
Author: Poul-Henning Kamp <phk at 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);
 }
 


More information about the varnish-commit mailing list