diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-04-25 15:47:07 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-04-25 15:47:07 +0300 |
commit | 974c2674ebb8fb6716cc147e04eff6058094565f (patch) | |
tree | d38e44cb16305d77d3abbe814d8e51d23890c949 /src/feature/dircache | |
parent | 811a93f80333d0f31ea9a46d9a1606c8e4ef11da (diff) | |
parent | a39789a02c2d89eaa8289a68a6b0fab0cc4d71dc (diff) | |
download | tor-974c2674ebb8fb6716cc147e04eff6058094565f.tar.gz tor-974c2674ebb8fb6716cc147e04eff6058094565f.zip |
Merge branch 'maint-0.4.0'
Diffstat (limited to 'src/feature/dircache')
-rw-r--r-- | src/feature/dircache/dircache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dircache/dircache.c b/src/feature/dircache/dircache.c index 06bd298aca..1b36f716f4 100644 --- a/src/feature/dircache/dircache.c +++ b/src/feature/dircache/dircache.c @@ -124,7 +124,7 @@ write_http_response_header_impl(dir_connection_t *conn, ssize_t length, long cache_lifetime) { char date[RFC1123_TIME_LEN+1]; - time_t now = time(NULL); + time_t now = approx_time(); buf_t *buf = buf_new_with_capacity(1024); tor_assert(conn); |