summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-09 12:18:04 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-09 12:18:39 -0400
commitc0feb698a0ab8574019d23cbd3060eb0513489c4 (patch)
tree20eb84a168e535513bf2f6c3fcb5cdcafbd02891 /src/or/connection.c
parent50328533e3595b9cc2d3fc72f81f56572c9e732d (diff)
downloadtor-c0feb698a0ab8574019d23cbd3060eb0513489c4.tar.gz
tor-c0feb698a0ab8574019d23cbd3060eb0513489c4.zip
Comment-only fix: annotate we_are_hibernating() usage
Everywhere we use we_are_hibernating(), remind the reader what it means. (Also, add an XXXX to note a DisableNetwork usage to change later.)
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 4361e1ca0c..9b7e15243b 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1762,7 +1762,7 @@ connection_connect_sockaddr,(connection_t *conn,
tor_assert(sa);
tor_assert(socket_error);
- if (get_options()->DisableNetwork) {
+ if (get_options()->DisableNetwork) { // XXXX change this -NM.
/* We should never even try to connect anyplace if DisableNetwork is set.
* Warn if we do, and refuse to make the connection.
*