Browse Source

tweak comment in connection_or

svn:r1830
Roger Dingledine 21 years ago
parent
commit
658873eb01
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/or/connection_or.c

+ 3 - 0
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.
  * begin the tls handshake if the connect succeeded.
  *
  *
  * Otherwise it's in state 'open': stop writing and return.
  * 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 connection_or_finished_flushing(connection_t *conn) {
   int e, len=sizeof(e);
   int e, len=sizeof(e);