aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-05 08:14:21 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-05 08:14:21 -0500
commitc01507a5fe73d0e49902a8abaa1f73112ae1fefa (patch)
treebf7d2a2ae56b4fbfac870ee0570667ff0db218ec /src/core
parent4c81ab5914c9ffa65bbc2668550a39164fd89284 (diff)
downloadtor-c01507a5fe73d0e49902a8abaa1f73112ae1fefa.tar.gz
tor-c01507a5fe73d0e49902a8abaa1f73112ae1fefa.zip
remember why we are doing getsockopt()
Diffstat (limited to 'src/core')
-rw-r--r--src/core/mainloop/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index 9d5bad7d8d..55a1dd361e 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -1462,6 +1462,7 @@ connection_listener_new(const struct sockaddr *listensockaddr,
}
#ifndef __APPLE__
+ /* This code was introduced to help debug #28229. */
int value;
socklen_t len = sizeof(value);