[master] c5a4be04d Clarify a fine point in the VAV api.

Poul-Henning Kamp phk at FreeBSD.org
Tue Jan 5 09:43:08 UTC 2021

commit c5a4be04d5d9f5ab2ffacc1d49373d2d339858a0
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Jan 5 09:41:32 2021 +0000

    Clarify a fine point in the VAV api.

diff --git a/lib/libvarnish/vav.c b/lib/libvarnish/vav.c
index 12fb4d6f5..334f757ef 100644
--- a/lib/libvarnish/vav.c
+++ b/lib/libvarnish/vav.c
@@ -31,6 +31,8 @@
  * const char **VAV_Parse(const char *s, int *argc, int flag)
  *	Parse a command like line into an argv[]
  *	Index zero contains NULL or an error message
+ *	(The error message is a static const char* and does not
+ * 	need saving or copying.)
  *	"double quotes" and backslash substitution is handled.
  * void VAV_Free(const char **argv)

More information about the varnish-commit mailing list