diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-09-02 08:50:26 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-09-02 08:50:26 -0400 |
commit | 4cff437a0a934e3a6712f43bd56ddfd4d2be0a80 (patch) | |
tree | 4c4c49d39cec2cd09c404a14c90a23889bfce31c /src/or/buffers.c | |
parent | 7153cd509457656e8ca5fff8606abd5ac882d962 (diff) | |
download | tor-4cff437a0a934e3a6712f43bd56ddfd4d2be0a80.tar.gz tor-4cff437a0a934e3a6712f43bd56ddfd4d2be0a80.zip |
Remove remaining references to "nulterminate" in comments
Thanks to Roger for spotting this!
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 01a1b1f366..cc2f6f409b 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -178,13 +178,10 @@ preferred_chunk_size(size_t target) /** Collapse data from the first N chunks from <b>buf</b> into buf->head, * growing it as necessary, until buf->head has the first <b>bytes</b> bytes * of data from the buffer, or until buf->head has all the data in <b>buf</b>. - * - * If <b>nulterminate</b> is true, ensure that there is a 0 byte in - * buf->head->mem right after all the data. */ + */ STATIC void buf_pullup(buf_t *buf, size_t bytes) { - /* XXXX nothing uses nulterminate; remove it. */ chunk_t *dest, *src; size_t capacity; if (!buf->head) |