diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-09-01 14:36:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-09-01 14:36:25 -0400 |
commit | fc191df9304d7fe27ce0c90f75ad4282d43e14e6 (patch) | |
tree | 4677585656f0105b5669a7a9ee831297e1fb0784 /src/or/buffers.h | |
parent | 0e60c52c6cf1863866a37dcb694823b21898eaf3 (diff) | |
download | tor-fc191df9304d7fe27ce0c90f75ad4282d43e14e6.tar.gz tor-fc191df9304d7fe27ce0c90f75ad4282d43e14e6.zip |
Remove the unused "nulterminate" option to buf_pullup()
I was going to add a test for this, but I realized that it had no
users. So, removed.
Diffstat (limited to 'src/or/buffers.h')
-rw-r--r-- | src/or/buffers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.h b/src/or/buffers.h index 6d0c68500b..7f79e3c0b2 100644 --- a/src/or/buffers.h +++ b/src/or/buffers.h @@ -101,7 +101,7 @@ void assert_buf_ok(buf_t *buf); #ifdef BUFFERS_PRIVATE STATIC int buf_find_string_offset(const buf_t *buf, const char *s, size_t n); -STATIC void buf_pullup(buf_t *buf, size_t bytes, int nulterminate); +STATIC void buf_pullup(buf_t *buf, size_t bytes); void buf_get_first_chunk_data(const buf_t *buf, const char **cp, size_t *sz); #define DEBUG_CHUNK_ALLOC |