[master] a281a10 Fix vmod priv doc typo.
Dag Haavi Finstad
daghf at varnish-software.com
Fri Jan 30 20:28:30 CET 2015
commit a281a1063fd32b695aea363894b9487d9fcefede
Author: Dag Haavi Finstad <daghf at varnish-software.com>
Date: Fri Jan 30 20:27:38 2015 +0100
Fix vmod priv doc typo.
Spotted by: gquintard
diff --git a/doc/sphinx/reference/vmod.rst b/doc/sphinx/reference/vmod.rst
index 70f287e..9209c4c 100644
--- a/doc/sphinx/reference/vmod.rst
+++ b/doc/sphinx/reference/vmod.rst
@@ -283,7 +283,7 @@ malloc would look like this::
if (priv->priv == NULL) {
priv->priv = calloc(sizeof(struct myfoo), 1);
AN(priv->priv);
- priv->priv = free; /* free(3) */
+ priv->free = free; /* free(3) */
mystate = priv->priv;
mystate->foo = 21;
...
More information about the varnish-commit
mailing list