summaryrefslogtreecommitdiff
path: root/src/core/mainloop
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-01-29 18:22:21 +1000
committerteor <teor@torproject.org>2020-01-29 18:22:21 +1000
commitd873674fb37342285e712da054398fab23cb0091 (patch)
treea4e80b28d6baa5d9e99ae8332d2d44b96c81e989 /src/core/mainloop
parent99671c0dae42b3b7ffbccada518d241641773bb2 (diff)
downloadtor-d873674fb37342285e712da054398fab23cb0091.tar.gz
tor-d873674fb37342285e712da054398fab23cb0091.zip
connection: Improve function comments
Improve the function comments on connection_finished_connecting(), to describe what the function actually does. Part of 33091.
Diffstat (limited to 'src/core/mainloop')
-rw-r--r--src/core/mainloop/connection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index 223428a8f6..4a2dc21f1c 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -4970,10 +4970,10 @@ connection_finished_flushing(connection_t *conn)
}
}
-/** Called when our attempt to connect() to another server has just
- * succeeded.
+/** Called when our attempt to connect() to a server has just succeeded.
*
- * This function just passes conn to the connection-specific
+ * This function checks if the interface address has changed (clients only),
+ * and then passes conn to the connection-specific
* connection_*_finished_connecting() function.
*/
static int