mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Use tor_addr_from_getsockname() in several places
I'm leaving the getsockname code in transproxy alone, since it is comparatively isolated, rather platform-specific, and hard to test. Implements 18105.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
o Code simplification and refactoring:
|
||||
- Introduce a function to call getsockname() and return
|
||||
tor_addr_t, to save a little complexity throughout the codebase.
|
||||
Closes ticket 18105.
|
||||
Reference in New Issue
Block a user