summaryrefslogtreecommitdiff
path: root/src/or/buffers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-02 13:33:41 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-02 13:33:41 -0400
commitcd9d39d54bbc9998938e9acddb1ec34507fc9108 (patch)
treea6ef33cab53e6c79fd6133e361e44e1e5f1df421 /src/or/buffers.c
parent88a7a027286046b1f9af3d495c1081a7f503efc5 (diff)
downloadtor-cd9d39d54bbc9998938e9acddb1ec34507fc9108.tar.gz
tor-cd9d39d54bbc9998938e9acddb1ec34507fc9108.zip
Rename generic_buffer_set_to_copy, since generic buffers are not a thing
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r--src/or/buffers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index ecaafbba56..0afa3e6363 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -1978,8 +1978,8 @@ write_to_buf_zlib(buf_t *buf, tor_zlib_state_t *state,
/** Set *<b>output</b> to contain a copy of the data in *<b>input</b> */
int
-generic_buffer_set_to_copy(generic_buffer_t **output,
- const generic_buffer_t *input)
+buf_set_to_copy(generic_buffer_t **output,
+ const generic_buffer_t *input)
{
if (*output)
buf_free(*output);