diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2014-01-19 20:43:29 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-01-19 20:43:29 +0100 |
commit | 9c4144689d7d062aa636a019b416d172a9e12c29 (patch) | |
tree | 6936e822e25fa69483cf8f5edb6abe267a418c9b /src/packet.c | |
parent | e745236ae5b06c897f2a576a9d2bbd8ada121c1c (diff) | |
download | libssh-9c4144689d7d062aa636a019b416d172a9e12c29.tar.gz libssh-9c4144689d7d062aa636a019b416d172a9e12c29.tar.xz libssh-9c4144689d7d062aa636a019b416d172a9e12c29.zip |
src: Rename buffer_init to ssh_buffer_init().
Diffstat (limited to 'src/packet.c')
-rw-r--r-- | src/packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/packet.c b/src/packet.c index 75f6b58f..e3322872 100644 --- a/src/packet.c +++ b/src/packet.c @@ -177,7 +177,7 @@ int ssh_packet_socket_callback(const void *data, size_t receivedlen, void *user) memset(&session->in_packet, 0, sizeof(PACKET)); if (session->in_buffer) { - rc = buffer_reinit(session->in_buffer); + rc = ssh_buffer_reinit(session->in_buffer); if (rc < 0) { goto error; } @@ -558,7 +558,7 @@ static int packet_send2(ssh_session session) { SSH_LOG(SSH_LOG_PACKET, "packet: wrote [len=%d,padding=%hhd,comp=%d,payload=%d]", ntohl(finallen), padding, compsize, payloadsize); - if (buffer_reinit(session->out_buffer) < 0) { + if (ssh_buffer_reinit(session->out_buffer) < 0) { rc = SSH_ERROR; } error: |