fix function names
This commit is contained in:
parent
1b159fd3db
commit
0ff68b92c7
4
main.c
4
main.c
@ -528,11 +528,11 @@ void serverssh(int port) {
|
|||||||
if (ssh_message_type(message) == SSH_REQUEST_CHANNEL) {
|
if (ssh_message_type(message) == SSH_REQUEST_CHANNEL) {
|
||||||
if (ssh_message_subtype(message) == SSH_CHANNEL_REQUEST_SHELL) {
|
if (ssh_message_subtype(message) == SSH_CHANNEL_REQUEST_SHELL) {
|
||||||
shell = 1;
|
shell = 1;
|
||||||
ssh_channel_request_reply_success(message);
|
ssh_message_channel_request_reply_success(message);
|
||||||
ssh_message_free(message);
|
ssh_message_free(message);
|
||||||
break;
|
break;
|
||||||
} else if (ssh_message_subtype(message) == SSH_CHANNEL_REQUEST_PTY) {
|
} else if (ssh_message_subtype(message) == SSH_CHANNEL_REQUEST_PTY) {
|
||||||
ssh_channel_request_reply_success(message);
|
ssh_message_channel_request_reply_success(message);
|
||||||
ssh_message_free(message);
|
ssh_message_free(message);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user