[master] 4c9ab3c1a Reapply printf_nofmt.cocci now that coccinelle can parse more

Nils Goroll nils.goroll at uplex.de
Tue Jul 11 19:49:04 UTC 2023


commit 4c9ab3c1ace14ab7ce68e80f731dc2d9c316b15f
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Jul 11 21:45:39 2023 +0200

    Reapply printf_nofmt.cocci now that coccinelle can parse more

diff --git a/lib/libvcc/vcc_backend.c b/lib/libvcc/vcc_backend.c
index 81f0da98a..c199e2d36 100644
--- a/lib/libvcc/vcc_backend.c
+++ b/lib/libvcc/vcc_backend.c
@@ -591,7 +591,7 @@ vcc_ParseHostDef(struct vcc *tl, struct symbol *sym,
 	}
 
 	if (via != NULL && t_path != NULL) {
-		VSB_printf(tl->sb, "Cannot set both .via and .path.\n");
+		VSB_cat(tl->sb, "Cannot set both .via and .path.\n");
 		vcc_ErrWhere(tl, t_be);
 		return;
 	}


More information about the varnish-commit mailing list