aboutsummaryrefslogtreecommitdiff
path: root/libssh/channels1.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 21:47:23 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 21:47:23 +0200
commitfb5769b4be79943b7c53ebc0d5adb86ed77b9925 (patch)
treed26e8b04ede24f6c0a761950fbad28261c7b8cf1 /libssh/channels1.c
parent56ee212641e8f5a008224da103dce78e421eb4b6 (diff)
downloadlibssh-fb5769b4be79943b7c53ebc0d5adb86ed77b9925.tar.gz
libssh-fb5769b4be79943b7c53ebc0d5adb86ed77b9925.tar.xz
libssh-fb5769b4be79943b7c53ebc0d5adb86ed77b9925.zip
You always forget SSH1 ...
Diffstat (limited to 'libssh/channels1.c')
-rw-r--r--libssh/channels1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/channels1.c b/libssh/channels1.c
index 7042f09..5c80f67 100644
--- a/libssh/channels1.c
+++ b/libssh/channels1.c
@@ -76,7 +76,7 @@ int channel_open_session1(CHANNEL *chan) {
int channel_request_pty_size1(CHANNEL *channel, const char *terminal, int col,
int row) {
SSH_SESSION *session = channel->session;
- STRING *str = NULL;
+ ssh_string str = NULL;
str = string_from_char(terminal);
if (str == NULL) {
@@ -181,7 +181,7 @@ int channel_request_shell1(CHANNEL *channel) {
int channel_request_exec1(CHANNEL *channel, const char *cmd) {
SSH_SESSION *session = channel->session;
- STRING *command = NULL;
+ ssh_string command = NULL;
command = string_from_char(cmd);
if (command == NULL) {
@@ -206,7 +206,7 @@ int channel_request_exec1(CHANNEL *channel, const char *cmd) {
static int channel_rcv_data1(SSH_SESSION *session, int is_stderr) {
CHANNEL *channel = session->channels;
- STRING *str = NULL;
+ ssh_string str = NULL;
str = buffer_get_ssh_string(session->in_buffer);
if (str == NULL) {