aboutsummaryrefslogtreecommitdiff
path: root/changes/ticket25432
diff options
context:
space:
mode:
authorCaio Valente <valentecaio95@gmail.com>2018-03-06 20:42:32 +0100
committerCaio Valente <valentecaio95@gmail.com>2018-03-06 20:42:32 +0100
commit8775c93a996fd864b1747c04eebe51534425ff51 (patch)
tree3e6c8b02de242582b8be67d537f47bc167fc83b5 /changes/ticket25432
parent699bb803baba942c6bcd50542183b283fa191163 (diff)
downloadtor-8775c93a996fd864b1747c04eebe51534425ff51.tar.gz
tor-8775c93a996fd864b1747c04eebe51534425ff51.zip
Refactor: suppress duplicated functions from router.c and encapsulate NODE_DESC_BUF_LEN constant.
Also encapsulates format_node_description(). Closes ticket 25432.
Diffstat (limited to 'changes/ticket25432')
-rw-r--r--changes/ticket254326
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/ticket25432 b/changes/ticket25432
new file mode 100644
index 0000000000..2179770f6b
--- /dev/null
+++ b/changes/ticket25432
@@ -0,0 +1,6 @@
+ o Code simplification and refactoring:
+ - Merge functions used for describing nodes and suppress the functions
+ that do not allocate memory for the output buffer string.
+ - NODE_DESC_BUF_LEN constant and format_node_description() function
+ cannot be used externally from router.c module anymore.
+ - Closes ticket 25432. Patch by valentecaio.