[master] 5e5b442f5 VSLb() is not the choice for a single string argument

Dridi Boukelmoune dridi at varni.sh
Wed Jul 20 15:46:16 UTC 2022


> On 20.07.22 17:31, Dridi Boukelmoune wrote:
> > Wouldn't this also work?
> >
> >     VSLb(ctx->vsl, SLT_VCL_Error, "%s", err);
>
> Yes it should. But why not avoid an snprintf if we can?

Should we cook a coccinelle patch to move "%s" formats to strands counterparts?


More information about the varnish-commit mailing list