aboutsummaryrefslogtreecommitdiff
path: root/src/legacy.c
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fidencio@redhat.com>2015-09-25 01:25:56 +0200
committerFabiano FidĂȘncio <fidencio@redhat.com>2016-01-19 11:31:08 +0100
commitd1d003c23226dc429327fd473f829544c1e3636a (patch)
tree6e075f3686c3d67327c440b30535dac525e905dc /src/legacy.c
parent3cf72e52586ab1ebff360d9b4f989ef15abfefa6 (diff)
downloadlibssh-d1d003c23226dc429327fd473f829544c1e3636a.tar.gz
libssh-d1d003c23226dc429327fd473f829544c1e3636a.tar.xz
libssh-d1d003c23226dc429327fd473f829544c1e3636a.zip
buffer: use ssh_buffer_get() instead of ssh_buffer_get_begin()
This commit is a preparatory stage for removing ssh_buffer_get_begin(). Note that removing ssh_buffer_get_begin() doesn't break API compatibility, as this functions has never been exposed (it only has the LIBSSH_API prefix). Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/legacy.c')
-rw-r--r--src/legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/legacy.c b/src/legacy.c
index 15f287a6..3f09992c 100644
--- a/src/legacy.c
+++ b/src/legacy.c
@@ -145,7 +145,7 @@ void buffer_free(ssh_buffer buffer){
ssh_buffer_free(buffer);
}
void *buffer_get(ssh_buffer buffer){
- return ssh_buffer_get_begin(buffer);
+ return ssh_buffer_get(buffer);
}
uint32_t buffer_get_len(ssh_buffer buffer){
return ssh_buffer_get_len(buffer);