Loading src/common/compat.c +0 −1 Original line number Diff line number Diff line Loading @@ -1002,7 +1002,6 @@ tor_inet_pton(int af, const char *src, void *dst) #endif } /** Similar behavior to Unix gethostbyname: resolve <b>name</b>, and set * *addr to the proper IP address, in network byte order. Returns 0 * on success, -1 on failure; 1 on transient failure. Loading src/common/mempool.c +1 −1 Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ struct mp_chunk_t { */ mp_allocated_t *first_free; int n_allocated; /**< Number of currently allocated items in this chunk. */ int capacity; /**< Largest number of items that can be fit into this chunk. */ int capacity; /**< Number of items that can be fit into this chunk. */ size_t mem_size; /**< Number of usable bytes in mem. */ char *next_mem; /**< Pointer into part of <b>mem</b> not yet carved up. */ char mem[1]; /**< Storage for this chunk. (Not actual size.) */ Loading src/or/connection_edge.c +1 −1 Original line number Diff line number Diff line Loading @@ -1365,7 +1365,7 @@ connection_ap_handshake_rewrite_and_attach(edge_connection_t *conn, conn, circ, cpath) < 0) || (!circ && connection_ap_handshake_attach_circuit(conn) < 0)) { connection_mark_unattached_ap(conn, END_STREAM_REASON_CANT_ATTACH);//xxxdup connection_mark_unattached_ap(conn, END_STREAM_REASON_CANT_ATTACH); return -1; } return 0; Loading src/or/dirserv.c +0 −1 Original line number Diff line number Diff line Loading @@ -1862,7 +1862,6 @@ generate_networkstatus_opinion(int v2) !tor_version_as_new_as(ri->platform,"0.1.1.16-rc-cvs"); memset(&rs, 0, sizeof(rs)); /* Already set by compute_performance_thresholds. */ rs.is_exit = ri->is_exit; rs.is_stable = ri->is_stable = Loading src/or/test.c +1 −2 Original line number Diff line number Diff line Loading @@ -310,7 +310,6 @@ test_buffers(void) test_memeq(str, (char*)_buf_peek_raw_buffer(buf), 10); /* XXX Check rest. */ test_eq(eof, 0); i = read_to_buf(s, 1024, buf, &eof); test_eq(i, 0); test_eq(buf_capacity(buf), MAX_BUF_SIZE); Loading Loading
src/common/compat.c +0 −1 Original line number Diff line number Diff line Loading @@ -1002,7 +1002,6 @@ tor_inet_pton(int af, const char *src, void *dst) #endif } /** Similar behavior to Unix gethostbyname: resolve <b>name</b>, and set * *addr to the proper IP address, in network byte order. Returns 0 * on success, -1 on failure; 1 on transient failure. Loading
src/common/mempool.c +1 −1 Original line number Diff line number Diff line Loading @@ -135,7 +135,7 @@ struct mp_chunk_t { */ mp_allocated_t *first_free; int n_allocated; /**< Number of currently allocated items in this chunk. */ int capacity; /**< Largest number of items that can be fit into this chunk. */ int capacity; /**< Number of items that can be fit into this chunk. */ size_t mem_size; /**< Number of usable bytes in mem. */ char *next_mem; /**< Pointer into part of <b>mem</b> not yet carved up. */ char mem[1]; /**< Storage for this chunk. (Not actual size.) */ Loading
src/or/connection_edge.c +1 −1 Original line number Diff line number Diff line Loading @@ -1365,7 +1365,7 @@ connection_ap_handshake_rewrite_and_attach(edge_connection_t *conn, conn, circ, cpath) < 0) || (!circ && connection_ap_handshake_attach_circuit(conn) < 0)) { connection_mark_unattached_ap(conn, END_STREAM_REASON_CANT_ATTACH);//xxxdup connection_mark_unattached_ap(conn, END_STREAM_REASON_CANT_ATTACH); return -1; } return 0; Loading
src/or/dirserv.c +0 −1 Original line number Diff line number Diff line Loading @@ -1862,7 +1862,6 @@ generate_networkstatus_opinion(int v2) !tor_version_as_new_as(ri->platform,"0.1.1.16-rc-cvs"); memset(&rs, 0, sizeof(rs)); /* Already set by compute_performance_thresholds. */ rs.is_exit = ri->is_exit; rs.is_stable = ri->is_stable = Loading
src/or/test.c +1 −2 Original line number Diff line number Diff line Loading @@ -310,7 +310,6 @@ test_buffers(void) test_memeq(str, (char*)_buf_peek_raw_buffer(buf), 10); /* XXX Check rest. */ test_eq(eof, 0); i = read_to_buf(s, 1024, buf, &eof); test_eq(i, 0); test_eq(buf_capacity(buf), MAX_BUF_SIZE); Loading