소스 검색

tweak comment in connection_or

svn:r1830
Roger Dingledine 22 년 전
부모
커밋
658873eb01
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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);