diff options
author | Roger Dingledine <arma@torproject.org> | 2007-04-30 23:25:22 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-04-30 23:25:22 +0000 |
commit | e9c4dd130421f1d30607660a07083063b4998677 (patch) | |
tree | 3775fc76fed80d0e67647e669f4ed9f1b9c04e9c /src/or/rendcommon.c | |
parent | 590c6ff33d9e8abf51d2d06a271ac4dc9d940496 (diff) | |
download | tor-e9c4dd130421f1d30607660a07083063b4998677.tar.gz tor-e9c4dd130421f1d30607660a07083063b4998677.zip |
more cleanups on the hsusage patch
svn:r10077
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index f9a237bb23..ebc84eb2c0 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -399,7 +399,7 @@ rend_cache_store(const char *desc, size_t desc_len, int published) } /* report novel publication to statistics */ if (published && options->HSAuthorityRecordStats) { - hs_usage_note_publish_total(query, time(NULL)); + hs_usage_note_publish_total(query, now); } e = (rend_cache_entry_t*) strmap_get_lc(rend_cache, key); if (e && e->parsed->timestamp > parsed->timestamp) { @@ -420,7 +420,7 @@ rend_cache_store(const char *desc, size_t desc_len, int published) strmap_set_lc(rend_cache, key, e); /* report novel publication to statistics */ if (published && options->HSAuthorityRecordStats) { - hs_usage_note_publish_novel(query, time(NULL)); + hs_usage_note_publish_novel(query, now); } } else { rend_service_descriptor_free(e->parsed); |