summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-05-04 16:21:05 +0200
committerAlexander Færøy <ahf@torproject.org>2017-05-12 17:18:45 +0200
commitca632144e59304ce2e41a32ddd1cf302d651cc68 (patch)
treed9767a93acb2cebefeb90e00de256e90bb8b67f0 /src/or/or.h
parent44102714460aafe59d77fdba0b1101a7bea8ab75 (diff)
downloadtor-ca632144e59304ce2e41a32ddd1cf302d651cc68.tar.gz
tor-ca632144e59304ce2e41a32ddd1cf302d651cc68.zip
Use dir_compressed(_len) instead of dir_z(_len).
This patch renames `dir_z` to `dir_compressed` and `dir_z_len` to `dir_compressed_len`. See: https://bugs.torproject.org/21667
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 297ec47fc1..acbf8cebbb 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1934,9 +1934,9 @@ typedef struct addr_policy_t {
* compressed form. */
typedef struct cached_dir_t {
char *dir; /**< Contents of this object, NUL-terminated. */
- char *dir_z; /**< Compressed contents of this object. */
+ char *dir_compressed; /**< Compressed contents of this object. */
size_t dir_len; /**< Length of <b>dir</b> (not counting its NUL). */
- size_t dir_z_len; /**< Length of <b>dir_z</b>. */
+ size_t dir_compressed_len; /**< Length of <b>dir_compressed</b>. */
time_t published; /**< When was this object published. */
common_digests_t digests; /**< Digests of this object (networkstatus only) */
/** Sha3 digest (also ns only) */