Skip to content

Commit

Permalink
White-space OCD
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdphk committed Mar 13, 2018
1 parent bd844c3 commit f346827
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions bin/varnishtest/tests/m00047.vtc
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ logexpect l1 -v v1 -d 1 -b {
} -run

logexpect l1 -v v1 -d 1 -c {
expect * 1001 Begin req
expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
expect * 1001 Begin req
expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
expect * = VCL_Error {^vmod unix error: not listening on a Unix domain socket$}
} -run


Expand Down
6 changes: 3 additions & 3 deletions lib/libvmod_unix/vmod.vcc
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ Examples::
}

# Require the connected peer to run in the group
# "trustedgroup".
# "trustedgroup".
if (unix.group() != "trustedgroup") {
return( synth(403) );
}

# Require the connected peer to run under a specific numeric
# user id.
# user id.
if (unix.uid() != 4711) {
return( synth(403) );
}
Expand Down Expand Up @@ -87,7 +87,7 @@ All functions in this VMOD are subject to the following constraints:

If the failure occurs during ``vcl_synth``, then ``vcl_synth`` is
aborted, and the the response line "503 VCL failed" is sent.

* 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
Expand Down

0 comments on commit f346827

Please sign in to comment.