aboutsummaryrefslogtreecommitdiff
path: root/libssh/channels.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 22:19:11 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 22:19:11 +0200
commit496a8e12d988b71089dc59547ed0f3e6c6825292 (patch)
tree01169a374f142e0050fb63d930c31159358b4ab7 /libssh/channels.c
parent0e8e124d2023736c973ce8e06f4776efd1edb096 (diff)
downloadlibssh-496a8e12d988b71089dc59547ed0f3e6c6825292.tar.gz
libssh-496a8e12d988b71089dc59547ed0f3e6c6825292.tar.xz
libssh-496a8e12d988b71089dc59547ed0f3e6c6825292.zip
Get rid of SSH_MESSAGE
Diffstat (limited to 'libssh/channels.c')
-rw-r--r--libssh/channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index c5560de9..99103708 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -1346,7 +1346,7 @@ static ssh_channel channel_accept(ssh_session session, int channeltype,
.tv_nsec = 50000000 /* 50ms */
};
#endif
- SSH_MESSAGE *msg = NULL;
+ ssh_message msg = NULL;
struct ssh_iterator *iterator;
int t;
@@ -1357,7 +1357,7 @@ static ssh_channel channel_accept(ssh_session session, int channeltype,
if (session->ssh_message_list) {
iterator = ssh_list_get_iterator(session->ssh_message_list);
while (iterator) {
- msg = (SSH_MESSAGE*)iterator->data;
+ msg = (ssh_message)iterator->data;
if (ssh_message_type(msg) == SSH_REQUEST_CHANNEL_OPEN &&
ssh_message_subtype(msg) == channeltype) {
ssh_list_remove(session->ssh_message_list, iterator);