Loading src/or/buffers.c +5 −4 Original line number Diff line number Diff line Loading @@ -493,9 +493,9 @@ buf_free(buf_t *buf) tor_free(buf); } /** Append a new chunk with enough capacity to hold <b>capacity</b> bytes to the * tail of <b>buf</b>. If <b>capped</b>, don't allocate a chunk bigger than * MAX_CHUNK_ALLOC. */ /** Append a new chunk with enough capacity to hold <b>capacity</b> bytes to * the tail of <b>buf</b>. If <b>capped</b>, don't allocate a chunk bigger * than MAX_CHUNK_ALLOC. */ static chunk_t * buf_add_chunk_with_capacity(buf_t *buf, size_t capacity, int capped) { Loading Loading @@ -765,7 +765,8 @@ flush_buf(int s, buf_t *buf, size_t sz, size_t *buf_flushlen) * DOCDOC can write more than flushlen bytes. */ int flush_buf_tls(tor_tls_t *tls, buf_t *buf, size_t flushlen, size_t *buf_flushlen) flush_buf_tls(tor_tls_t *tls, buf_t *buf, size_t flushlen, size_t *buf_flushlen) { int r; size_t flushed = 0; Loading src/or/dirserv.c +0 −1 Original line number Diff line number Diff line Loading @@ -2757,7 +2757,6 @@ dirserv_test_reachability(time_t now, int try_all) ctr = (ctr + 1) % 128; } /** Given a fingerprint <b>fp</b> which is either set if we're looking * for a v2 status, or zeroes if we're looking for a v3 status, return * a pointer to the appropriate cached dir object, or NULL if there isn't Loading src/common/util.c +1 −1 File changed.Contains only whitespace changes. Show changes Loading
src/or/buffers.c +5 −4 Original line number Diff line number Diff line Loading @@ -493,9 +493,9 @@ buf_free(buf_t *buf) tor_free(buf); } /** Append a new chunk with enough capacity to hold <b>capacity</b> bytes to the * tail of <b>buf</b>. If <b>capped</b>, don't allocate a chunk bigger than * MAX_CHUNK_ALLOC. */ /** Append a new chunk with enough capacity to hold <b>capacity</b> bytes to * the tail of <b>buf</b>. If <b>capped</b>, don't allocate a chunk bigger * than MAX_CHUNK_ALLOC. */ static chunk_t * buf_add_chunk_with_capacity(buf_t *buf, size_t capacity, int capped) { Loading Loading @@ -765,7 +765,8 @@ flush_buf(int s, buf_t *buf, size_t sz, size_t *buf_flushlen) * DOCDOC can write more than flushlen bytes. */ int flush_buf_tls(tor_tls_t *tls, buf_t *buf, size_t flushlen, size_t *buf_flushlen) flush_buf_tls(tor_tls_t *tls, buf_t *buf, size_t flushlen, size_t *buf_flushlen) { int r; size_t flushed = 0; Loading
src/or/dirserv.c +0 −1 Original line number Diff line number Diff line Loading @@ -2757,7 +2757,6 @@ dirserv_test_reachability(time_t now, int try_all) ctr = (ctr + 1) % 128; } /** Given a fingerprint <b>fp</b> which is either set if we're looking * for a v2 status, or zeroes if we're looking for a v3 status, return * a pointer to the appropriate cached dir object, or NULL if there isn't Loading