[master] c138645 VMOD unix doc fixes.

Geoff Simmons geoff at uplex.de
Tue Mar 13 19:03:09 UTC 2018

commit c138645f92698670bae157f61c893f8ca2679b06
Author: Geoff Simmons <geoff at uplex.de>
Date:   Tue Mar 13 20:01:41 2018 +0100

    VMOD unix doc fixes.

diff --git a/lib/libvmod_unix/vmod.vcc b/lib/libvmod_unix/vmod.vcc
index 8b72913..d698a91 100644
--- a/lib/libvmod_unix/vmod.vcc
+++ b/lib/libvmod_unix/vmod.vcc
@@ -19,6 +19,8 @@ it.
+  import unix;
   sub vcl_recv {
 	# Return "403 Forbidden" if the connected peer is
 	# not running as the user "trusteduser".
@@ -92,7 +94,7 @@ All functions in this VMOD are subject to the following constraints:
 * If the current listener is not a Unix domain socket, or if the
   attempt to read credentials fails, then a ``VCL_Error`` message is
   written to the log. The STRING functions (``vmod_user`` and
-  ``vmod_group``) return NULL, while the INT functions (``vmod_user``
+  ``vmod_group``) return NULL, while the INT functions (``vmod_uid``
   and ``vmod_gid``) return -1.

More information about the varnish-commit mailing list