1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

src: Rename buffer_init to ssh_buffer_init().

This commit is contained in:
Andreas Schneider
2014-01-19 20:43:29 +01:00
parent e745236ae5
commit 9c4144689d
17 changed files with 53 additions and 48 deletions

View File

@@ -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: