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

Nils Goroll nils.goroll at uplex.de
Wed Jul 20 15:35:36 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?

-- 

** * * UPLEX - Nils Goroll Systemoptimierung

Scheffelstraße 32
22301 Hamburg

tel +49 40 28805731
mob +49 170 2723133
fax +49 40 42949753

xmpp://slink@jabber.int.uplex.de/

http://uplex.de/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-commit/attachments/20220720/114477a9/attachment.bin>


More information about the varnish-commit mailing list