diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-03 23:23:56 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-03 23:23:56 +0100 |
commit | b25ebf4bdb67fb744e923737e4fb542acbdbede3 (patch) | |
tree | 1d19e68a9660e549fec96ecc9389ae4dfb15f3d0 /libssh/channels.c | |
parent | 804bb44edaba78d0181b1d85d2e7fa832027f393 (diff) | |
download | libssh-b25ebf4bdb67fb744e923737e4fb542acbdbede3.tar.gz libssh-b25ebf4bdb67fb744e923737e4fb542acbdbede3.tar.xz libssh-b25ebf4bdb67fb744e923737e4fb542acbdbede3.zip |
Removed channel_handle now unused function
Diffstat (limited to 'libssh/channels.c')
-rw-r--r-- | libssh/channels.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/libssh/channels.c b/libssh/channels.c index ab2e6dfa..36a38d7b 100644 --- a/libssh/channels.c +++ b/libssh/channels.c @@ -622,32 +622,6 @@ SSH_PACKET_CALLBACK(channel_rcv_request) { } /* - * channel_handle() is called by packet_wait(), for example when there is - * channel informations to handle. - */ -void channel_handle(ssh_session session, int type){ - enter_function(); - - ssh_log(session, SSH_LOG_PROTOCOL, "Channel_handle(%d)", type); - - switch(type) { - case SSH2_MSG_CHANNEL_WINDOW_ADJUST: - case SSH2_MSG_CHANNEL_REQUEST: - case SSH2_MSG_CHANNEL_CLOSE: - case SSH2_MSG_CHANNEL_EOF: - case SSH2_MSG_CHANNEL_DATA: - case SSH2_MSG_CHANNEL_EXTENDED_DATA: - ssh_packet_process(session, type); - break; - default: - ssh_log(session, SSH_LOG_FUNCTIONS, - "Unexpected message %d", type); - } - - leave_function(); -} - -/* * When data has been received from the ssh server, it can be applied to the * known user function, with help of the callback, or inserted here * |