diff options
author | Roger Dingledine <arma@torproject.org> | 2015-01-18 15:53:06 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-18 15:53:06 -0500 |
commit | 5aa55a1369dbcb849f1290291c48054f25cdd623 (patch) | |
tree | 93388408f2514bb2c27339cf9a0ba727f433b95e /src/or/rendcommon.c | |
parent | fae72a8d0a749a99b9b518c2234aeb5c30552f69 (diff) | |
download | tor-5aa55a1369dbcb849f1290291c48054f25cdd623.tar.gz tor-5aa55a1369dbcb849f1290291c48054f25cdd623.zip |
Remove the unused rend_cache_entry_t->received field.
(Patch from arma, commit message from nick.)
Closes #14222.
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index 82202b9058..866f4fb026 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -1058,7 +1058,6 @@ rend_cache_store_v2_desc_as_dir(const char *desc) if (e && !strcmp(desc, e->desc)) { log_info(LD_REND, "We already have this service descriptor with desc " "ID %s.", safe_str(desc_id_base32)); - e->received = time(NULL); goto skip; } /* Store received descriptor. */ @@ -1075,7 +1074,6 @@ rend_cache_store_v2_desc_as_dir(const char *desc) rend_service_descriptor_free(e->parsed); tor_free(e->desc); } - e->received = time(NULL); e->parsed = parsed; e->desc = tor_strndup(current_desc, encoded_size); e->len = encoded_size; @@ -1265,7 +1263,6 @@ rend_cache_store_v2_desc_as_client(const char *desc, rend_service_descriptor_free(e->parsed); tor_free(e->desc); } - e->received = time(NULL); e->parsed = parsed; e->desc = tor_malloc_zero(encoded_size + 1); strlcpy(e->desc, desc, encoded_size + 1); |