diff options
author | Andrea Shepard <andrea@torproject.org> | 2016-06-25 07:47:53 +0000 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2016-06-30 07:03:25 +0000 |
commit | 35fc5879fb15177581284537f5b5286110590555 (patch) | |
tree | 5058e140ee0400ddcde168b88574b409e7461ad9 /src/or/routerparse.c | |
parent | 4e4a760491ef162413240b0bb38732da801e818a (diff) | |
download | tor-35fc5879fb15177581284537f5b5286110590555.tar.gz tor-35fc5879fb15177581284537f5b5286110590555.zip |
Expose a few more dump_desc()-related things to the test suite
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index eacf9aa916..5f1dde4dc9 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -588,9 +588,9 @@ static int check_signature_token(const char *digest, /* Dump mechanism for unparseable descriptors */ /** List of dumped descriptors for FIFO cleanup purposes */ -static smartlist_t *descs_dumped = NULL; +STATIC smartlist_t *descs_dumped = NULL; /** Total size of dumped descriptors for FIFO cleanup */ -static size_t len_descs_dumped = 0; +STATIC size_t len_descs_dumped = 0; /* * One entry in the list of dumped descriptors; filename dumped to, length @@ -715,7 +715,7 @@ dump_desc_fifo_bump_hash(const uint8_t *digest_sha256) /** Clean up on exit; just memory, leave the dumps behind */ -static void +STATIC void dump_desc_fifo_cleanup(void) { if (descs_dumped) { |