From 913d9ed6e283625859a8bdfe986302c932e8d11d Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 10 May 2004 03:54:33 +0000 Subject: [PATCH] tweak comment in connection_or svn:r1830 --- trunk/src/or/connection_or.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trunk/src/or/connection_or.c b/trunk/src/or/connection_or.c index bab0969ca0..523ebd2fea 100644 --- a/trunk/src/or/connection_or.c +++ b/trunk/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 conn 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);