summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-05-10 03:54:33 +0000
committerRoger Dingledine <arma@torproject.org>2004-05-10 03:54:33 +0000
commit658873eb0116719d7f1e5189127c86840a3b2fb1 (patch)
tree5f9e37a0f00c4df1bb9a920889b3805eac22287d
parentc0ea93337db2f2e1ec5afce74d5cdf6031f289b9 (diff)
downloadtor-658873eb0116719d7f1e5189127c86840a3b2fb1.tar.gz
tor-658873eb0116719d7f1e5189127c86840a3b2fb1.zip
tweak comment in connection_or
svn:r1830
-rw-r--r--src/or/connection_or.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index bab0969ca0..523ebd2fea 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -63,6 +63,9 @@ int connection_or_process_inbuf(connection_t *conn) {
* begin the tls handshake if the connect succeeded.
*
* Otherwise it's in state 'open': stop writing and return.
+ *
+ * If <b>conn</b> is broken, mark it for close and return -1, else
+ * return 0.
*/
int connection_or_finished_flushing(connection_t *conn) {
int e, len=sizeof(e);