Define and use TOR_ADDRPORT_BUF_LEN

This commit is contained in:
Neel Chauhan
2020-04-26 13:06:11 -07:00
committed by teor
parent c76f310fe7
commit 0daa1da3ba
4 changed files with 18 additions and 9 deletions
+5
View File
@@ -0,0 +1,5 @@
o Code simplification and refactoring:
- Define and use a new constant TOR_ADDRPORT_BUF_LEN which is like
TOR_ADDR_BUF_LEN but includes enough space for an IP address,
brackets, seperating colon, and port number. Closes ticket 33956.
Patch by Neel Chauhan.