summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorChelsea H. Komlo <chelsea.komlo@gmail.com>2016-10-18 19:04:22 -0500
committerChelsea H. Komlo <chelsea.komlo@gmail.com>2016-10-19 12:25:50 -0500
commit471b0c5175521bb2bc49eb7e30d78f656a3a2843 (patch)
tree1ab750249a93fcf5f9177f8b48cd11f79f726345 /changes
parent195ccce94e250a150e208f7a8fb9ba8375b6fe89 (diff)
downloadtor-471b0c5175521bb2bc49eb7e30d78f656a3a2843.tar.gz
tor-471b0c5175521bb2bc49eb7e30d78f656a3a2843.zip
Refactor purpose_needs_anonymity to use switch statement
Diffstat (limited to 'changes')
-rw-r--r--changes/ticket200772
1 files changed, 2 insertions, 0 deletions
diff --git a/changes/ticket20077 b/changes/ticket20077
index bc0e38ed3c..d5510694ff 100644
--- a/changes/ticket20077
+++ b/changes/ticket20077
@@ -1,3 +1,5 @@
o Code simplification and refactoring:
- Remove redundant behavior of is_sensitive_dir_purpose, refactor to use
only purpose_needs_anonymity
+ - Refactor large if statement in purpose_needs_anonymity to use switch
+ statement instead.