diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/or.h | 1 | ||||
-rw-r--r-- | src/or/rendcommon.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/or/or.h b/src/or/or.h index 7568fc16a8..f821d0b405 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -4897,7 +4897,6 @@ typedef struct rend_service_descriptor_t { /** A cached rendezvous descriptor. */ typedef struct rend_cache_entry_t { size_t len; /**< Length of <b>desc</b> */ - time_t received; /**< When was the descriptor received? */ time_t last_served; /**< When did we last write this one to somebody? * (HSDir only) */ char *desc; /**< Service descriptor */ 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); |