瀏覽代碼

tweak comment in connection_or

svn:r1830
Roger Dingledine 21 年之前
父節點
當前提交
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.
  *
  * 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);