浏览代码

Add a missing return -1

svn:r1629
Nick Mathewson 21 年之前
父节点
当前提交
3f352719f3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/or/rendservice.c

+ 1 - 0
src/or/rendservice.c

@@ -895,6 +895,7 @@ rend_service_set_connection_addr_port(connection_t *conn, circuit_t *circ)
            serviceid, circ->n_circ_id);
     circuit_mark_for_close(circ);
     connection_mark_for_close(conn, 0/*XXX*/);
+    return -1;
   }
   for (i = 0; i < smartlist_len(service->ports); ++i) {
     p = smartlist_get(service->ports, i);