diff options
author | Roger Dingledine <arma@torproject.org> | 2007-11-29 15:30:32 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-11-29 15:30:32 +0000 |
commit | 8ac5f24c33f73bd4d192e86e5e535e2cb35288e1 (patch) | |
tree | e4399ca1d5824d5bf3ec429ec1f9a267994998f3 /src/or/buffers.c | |
parent | aaf35cccf7ac60c17dac687127ec82c612232836 (diff) | |
download | tor-8ac5f24c33f73bd4d192e86e5e535e2cb35288e1.tar.gz tor-8ac5f24c33f73bd4d192e86e5e535e2cb35288e1.zip |
easy tweaks on r12607
svn:r12608
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index a2d33a39e6..fa87f44c2f 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -288,14 +288,10 @@ buf_shrink_freelists(int free_all) int i, n_to_skip, n_to_free; char **ptr; if (free_all) { /* Free every one of them */ - /* Just a consideration: Is this log statement really useful on - * info level? -KL */ log_debug(LD_GENERAL, "Freeing all %d elements from %d-byte freelist.", list->len, (int)list->chunksize); n_to_free = list->len; } else { /* Skip over the slack and non-lowwater entries */ - /* Just a consideration: Is this log statement really useful on - * info level? -KL */ log_debug(LD_GENERAL, "We haven't used %d/%d allocated %d-byte buffer " "memory chunks since the last call; freeing all but %d of " "them", @@ -379,8 +375,6 @@ buf_resize(buf_t *buf, size_t new_capacity) if (buf->mem) raw = tor_realloc(RAW_MEM(buf->mem), ALLOC_LEN(new_capacity)); else { - /* Just a consideration: Is this log statement really useful on - * info level? -KL */ log_debug(LD_GENERAL, "Jumping straight from 0 bytes to %d", (int)new_capacity); raw = tor_malloc(ALLOC_LEN(new_capacity)); |