]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
tweak comment in connection_or
authorRoger Dingledine <arma@torproject.org>
Mon, 10 May 2004 03:54:33 +0000 (03:54 +0000)
committerRoger Dingledine <arma@torproject.org>
Mon, 10 May 2004 03:54:33 +0000 (03:54 +0000)
svn:r1830

src/or/connection_or.c

index bab0969ca0037513d3fafc1a0bc15cbb1099c8a6..523ebd2fea8e1ac55f83d948d1e6f8432ce2a177 100644 (file)
@@ -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);