diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-06 05:31:21 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-06 05:31:21 +0000 |
commit | ec6c131da613adad2ea4936256b7b0dc00b2ca2f (patch) | |
tree | 98e5e4c9b47244b2426cedb2cc2757f65b10bf88 /src/or/buffers.c | |
parent | 8366da01fb62f7c860e86831642b99cfa6e60712 (diff) | |
download | tor-ec6c131da613adad2ea4936256b7b0dc00b2ca2f.tar.gz tor-ec6c131da613adad2ea4936256b7b0dc00b2ca2f.zip |
r17936@catbus: nickm | 2008-02-06 00:31:11 -0500
Fix/downgrade some more XXX020s.
svn:r13397
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 57ebc19c63..86a82e1779 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -176,7 +176,8 @@ chunk_new_with_alloc_size(size_t alloc) freelist->lowest_length = freelist->cur_length; ++freelist->n_hit; } else { - /* XXXX020 take advantage of tor_malloc_roundup. */ + /* XXXX020 take advantage of tor_malloc_roundup, once we know how that + * affects freelists. */ if (freelist) ++freelist->n_alloc; else @@ -950,8 +951,8 @@ fetch_var_cell_from_buf(buf_t *buf, var_cell_t **out) int move_buf_to_buf(buf_t *buf_out, buf_t *buf_in, size_t *buf_flushlen) { - /* XXXX020 we can do way better here. See if this turns up in the - */ + /* XXXX we can do way better here, but this doesn't turn up in any + * profiles. */ char b[4096]; size_t cp, len; len = *buf_flushlen; |