From: Roger Dingledine Date: Mon, 10 May 2004 03:54:33 +0000 (+0000) Subject: tweak comment in connection_or X-Git-Tag: debian-version-0.0.6.2-1~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=658873eb0116719d7f1e5189127c86840a3b2fb1;p=thirdparty%2Ftor.git tweak comment in connection_or svn:r1830 --- 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);