diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-08-02 13:33:41 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-08-02 13:33:41 -0400 |
commit | cd9d39d54bbc9998938e9acddb1ec34507fc9108 (patch) | |
tree | a6ef33cab53e6c79fd6133e361e44e1e5f1df421 /src/or/buffers.h | |
parent | 88a7a027286046b1f9af3d495c1081a7f503efc5 (diff) | |
download | tor-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.h')
-rw-r--r-- | src/or/buffers.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/buffers.h b/src/or/buffers.h index 2b25bc3c07..3629fc32c5 100644 --- a/src/or/buffers.h +++ b/src/or/buffers.h @@ -64,8 +64,9 @@ int fetch_ext_or_command_from_buf(buf_t *buf, ext_or_cmd_t **out); #define generic_buffer_free(b) buf_free((b)) #define generic_buffer_fetch_ext_or_cmd(b, out) \ fetch_ext_or_command_from_buf((b), (out)) -int generic_buffer_set_to_copy(generic_buffer_t **output, - const generic_buffer_t *input); + +int buf_set_to_copy(generic_buffer_t **output, + const generic_buffer_t *input); void assert_buf_ok(buf_t *buf); |