aboutsummaryrefslogtreecommitdiff
path: root/libssh/session.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/session.c
parent0e8e124d2023736c973ce8e06f4776efd1edb096 (diff)
downloadlibssh-496a8e12d988b71089dc59547ed0f3e6c6825292.tar.gz
libssh-496a8e12d988b71089dc59547ed0f3e6c6825292.tar.xz
libssh-496a8e12d988b71089dc59547ed0f3e6c6825292.zip
Get rid of SSH_MESSAGE
Diffstat (limited to 'libssh/session.c')
-rw-r--r--libssh/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/session.c b/libssh/session.c
index c676cc80..4c6a81ee 100644
--- a/libssh/session.c
+++ b/libssh/session.c
@@ -127,8 +127,8 @@ void ssh_cleanup(ssh_session session) {
privatekey_free(session->dsa_key);
privatekey_free(session->rsa_key);
if(session->ssh_message_list){
- SSH_MESSAGE *msg;
- while((msg=ssh_list_get_head(SSH_MESSAGE *,session->ssh_message_list))
+ ssh_message msg;
+ while((msg=ssh_list_get_head(ssh_message ,session->ssh_message_list))
!= NULL){
ssh_message_free(msg);
}