Avoid usage of deprecated functions and whitespace cleanup

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
This commit is contained in:
Jakub Jelen
2022-06-03 12:59:00 +02:00
parent dd318aa1a1
commit 100017982d
3 changed files with 3 additions and 3 deletions

View File

@@ -189,7 +189,7 @@ int web_server(ssh_session session)
return rc;
}
channel = ssh_channel_open_forward_port(session, 60000, &port,
channel = ssh_channel_open_forward_port(session, 60000, &port,
&peer_address, &peer_port);
if (channel == NULL)
{