From 658873eb0116719d7f1e5189127c86840a3b2fb1 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 --- src/or/connection_or.c | 3 +++ 1 file changed, 3 insertions(+) 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 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);