diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-10-03 12:07:00 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-10-03 12:07:00 +0200 |
commit | 338a3d9b0509d4cf49d2fdb00b17a9e9f7593447 (patch) | |
tree | 2a558ca6de423773cde030b44953d5c75a51974c /src/buffer.c | |
parent | 5687d6e79a3ded310c847177d3a200384fdeb3d9 (diff) | |
download | libssh-338a3d9b0509d4cf49d2fdb00b17a9e9f7593447.tar.gz libssh-338a3d9b0509d4cf49d2fdb00b17a9e9f7593447.tar.xz libssh-338a3d9b0509d4cf49d2fdb00b17a9e9f7593447.zip |
Removed references to ssh_buffer_get_begin
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 6f737dac..465f618a 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -319,7 +319,7 @@ int buffer_prepend_data(struct ssh_buffer_struct *buffer, const void *data, */ int buffer_add_buffer(struct ssh_buffer_struct *buffer, struct ssh_buffer_struct *source) { - if (buffer_add_data(buffer, ssh_buffer_get_begin(source), ssh_buffer_get_len(source)) < 0) { + if (buffer_add_data(buffer, buffer_get_rest(source), buffer_get_rest_len(source)) < 0) { return -1; } |