Commit 416a9190 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Make now constant within a VCL subroutine

Idea from Devon H. O'Dell (dho at fastly dot com).
parent 5d272966
...@@ -292,7 +292,7 @@ VRT_r_now(VRT_CTX) ...@@ -292,7 +292,7 @@ VRT_r_now(VRT_CTX)
{ {
(void)ctx; (void)ctx;
return (VTIM_real()); return (ctx->now);
} }
/*--------------------------------------------------------------------*/ /*--------------------------------------------------------------------*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment