diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-03-05 14:36:32 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-03-05 14:36:32 -0500 |
commit | 663aba07e5de9c14725e83e0d9c9da0c85e4fc1e (patch) | |
tree | 4a594d5f2c7c691b172f422f44303500c6a08e8a /src/or/buffers.c | |
parent | 22ccfc6b5f25f75795e5f9d554b18e717962de3e (diff) | |
download | tor-663aba07e5de9c14725e83e0d9c9da0c85e4fc1e.tar.gz tor-663aba07e5de9c14725e83e0d9c9da0c85e4fc1e.zip |
Fix whitespace errors, all of them mine.
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 87e8abffe9..012ced6d32 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -235,7 +235,8 @@ chunk_free_unchecked(chunk_t *chunk) #ifdef DEBUG_CHUNK_ALLOC tor_assert(CHUNK_ALLOC_SIZE(chunk->memlen) == chunk->DBG_alloc); #endif - tor_assert(total_bytes_allocated_in_chunks >= CHUNK_ALLOC_SIZE(chunk->memlen)); + tor_assert(total_bytes_allocated_in_chunks >= + CHUNK_ALLOC_SIZE(chunk->memlen)); total_bytes_allocated_in_chunks -= CHUNK_ALLOC_SIZE(chunk->memlen); tor_free(chunk); } @@ -272,7 +273,8 @@ chunk_grow(chunk_t *chunk, size_t sz) tor_assert(chunk->DBG_alloc == CHUNK_ALLOC_SIZE(memlen_orig)); chunk->DBG_alloc = CHUNK_ALLOC_SIZE(sz); #endif - total_bytes_allocated_in_chunks += CHUNK_ALLOC_SIZE(sz) - CHUNK_ALLOC_SIZE(memlen_orig); + total_bytes_allocated_in_chunks += + CHUNK_ALLOC_SIZE(sz) - CHUNK_ALLOC_SIZE(memlen_orig); return chunk; } @@ -339,7 +341,8 @@ buf_shrink_freelists(int free_all) #ifdef DEBUG_CHUNK_ALLOC tor_assert(chunk->DBG_alloc == CHUNK_ALLOC_SIZE(chunk->memlen)); #endif - tor_assert(total_bytes_allocated_in_chunks >= CHUNK_ALLOC_SIZE(chunk->memlen)); + tor_assert(total_bytes_allocated_in_chunks >= + CHUNK_ALLOC_SIZE(chunk->memlen)); total_bytes_allocated_in_chunks -= CHUNK_ALLOC_SIZE(chunk->memlen); total_freed += CHUNK_ALLOC_SIZE(chunk->memlen); tor_free(chunk); |