aboutsummaryrefslogtreecommitdiff
path: root/src/channels.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-01-19 20:43:29 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-01-19 20:43:29 +0100
commit9c4144689d7d062aa636a019b416d172a9e12c29 (patch)
tree6936e822e25fa69483cf8f5edb6abe267a418c9b /src/channels.c
parente745236ae5b06c897f2a576a9d2bbd8ada121c1c (diff)
downloadlibssh-9c4144689d7d062aa636a019b416d172a9e12c29.tar.gz
libssh-9c4144689d7d062aa636a019b416d172a9e12c29.tar.xz
libssh-9c4144689d7d062aa636a019b416d172a9e12c29.zip
src: Rename buffer_init to ssh_buffer_init().
Diffstat (limited to 'src/channels.c')
-rw-r--r--src/channels.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/channels.c b/src/channels.c
index c11aa419..333d5fdf 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -393,7 +393,7 @@ static int grow_window(ssh_session session, ssh_channel channel, int minimumsize
return SSH_OK;
error:
- buffer_reinit(session->out_buffer);
+ ssh_buffer_reinit(session->out_buffer);
return SSH_ERROR;
}
@@ -1171,7 +1171,7 @@ int ssh_channel_send_eof(ssh_channel channel){
return rc;
error:
- buffer_reinit(session->out_buffer);
+ ssh_buffer_reinit(session->out_buffer);
return rc;
}
@@ -1229,7 +1229,7 @@ int ssh_channel_close(ssh_channel channel){
return rc;
error:
- buffer_reinit(session->out_buffer);
+ ssh_buffer_reinit(session->out_buffer);
return rc;
}
@@ -1418,7 +1418,7 @@ out:
return (int)(origlen - len);
error:
- buffer_reinit(session->out_buffer);
+ ssh_buffer_reinit(session->out_buffer);
return SSH_ERROR;
}
@@ -1673,7 +1673,7 @@ pending:
return rc;
error:
- buffer_reinit(session->out_buffer);
+ ssh_buffer_reinit(session->out_buffer);
return rc;
}
@@ -2240,7 +2240,7 @@ pending:
return rc;
error:
- buffer_reinit(session->out_buffer);
+ ssh_buffer_reinit(session->out_buffer);
return rc;
}
@@ -2652,7 +2652,7 @@ int channel_read_buffer(ssh_channel channel, ssh_buffer buffer, uint32_t count,
return SSH_ERROR;
}
- buffer_reinit(buffer);
+ ssh_buffer_reinit(buffer);
if(count==0){
do {
r=ssh_channel_poll(channel, is_stderr);