[experimental-ims] e416c09 added () to EXAMPLES for std.log

Geoff Simmons geoff at varnish-cache.org
Wed Aug 31 16:02:50 CEST 2011


commit e416c09b8d1ae1bee6af6ce249392557640fb23a
Author: Per Buer <perbu at varnish-software.com>
Date:   Wed Aug 17 11:06:41 2011 +0200

    added () to EXAMPLES for std.log

diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index c193e08..281b653 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -834,7 +834,7 @@ based on the request URL:::
 
   sub vcl_fetch {
     if (beresp.ttl < 120s) {
-      std.log "Adjusting TTL";
+      std.log("Adjusting TTL");
       set beresp.ttl = 120s;
     }
   }



More information about the varnish-commit mailing list