[master] d85f4c38f Fix workspace VSB example

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Fri Jun 5 15:21:07 UTC 2020


commit d85f4c38f566d4f45fba8e4e5c51622655ecce91
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Fri Jun 5 17:19:11 2020 +0200

    Fix workspace VSB example

diff --git a/bin/varnishd/cache/cache_ws.c b/bin/varnishd/cache/cache_ws.c
index c563c29c6..dc1744779 100644
--- a/bin/varnishd/cache/cache_ws.c
+++ b/bin/varnishd/cache/cache_ws.c
@@ -382,7 +382,7 @@ WS_Overflowed(const struct ws *ws)
  *
  *	WS_VSB_new(vsb, ctx->ws);
  *	VSB_printf(vsb, "blablabla");
- *	p = WS_VSB_finish(vsb, NULL);
+ *	p = WS_VSB_finish(vsb, ctx->ws, NULL);
  *	if (p == NULL)
  *		return (FAILURE);
  */


More information about the varnish-commit mailing list