[tor-commits] [tor/master] dircache: fix identation and remove unneded goto
teor at torproject.org
teor at torproject.org
Tue Mar 26 09:16:27 UTC 2019
commit da7a8d7624b76053210bad6f830df7842a4b30f1
Author: juga0 <juga at riseup.net>
Date: Mon Nov 19 17:27:41 2018 +0000
dircache: fix identation and remove unneded goto
---
src/test/test_dir_handle_get.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c
index 0cd7e1050..22f5a9b3d 100644
--- a/src/test/test_dir_handle_get.c
+++ b/src/test/test_dir_handle_get.c
@@ -2548,14 +2548,14 @@ test_dir_handle_get_status_vote_next_bandwidth(void* data)
* If it would, the size and content would be different than the original.
*/
- done:
- UNMOCK(get_options);
- UNMOCK(connection_write_to_buf_impl_);
- connection_free_minimal(TO_CONN(conn));
- tor_free(header);
- tor_free(body);
- tor_free(expires);
- or_options_free(mock_options); mock_options = NULL;
+ done:
+ UNMOCK(get_options);
+ UNMOCK(connection_write_to_buf_impl_);
+ connection_free_minimal(TO_CONN(conn));
+ tor_free(header);
+ tor_free(body);
+ tor_free(expires);
+ or_options_free(mock_options);
}
static void
More information about the tor-commits
mailing list