Mailing List Archive

[master] d85f4c38f Fix workspace VSB example
commit d85f4c38f566d4f45fba8e4e5c51622655ecce91
Author: Dridi Boukelmoune <dridi.boukelmoune@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);
*/
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit