aboutsummaryrefslogtreecommitdiff
path: root/tests/sftp_stress
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sftp_stress')
-rw-r--r--tests/sftp_stress/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sftp_stress/main.c b/tests/sftp_stress/main.c
index c9b0ad9f..ac3f8bb4 100644
--- a/tests/sftp_stress/main.c
+++ b/tests/sftp_stress/main.c
@@ -88,8 +88,8 @@ SSH_SESSION *connect_host(const char *hostname){
ssh_disconnect(session);
return NULL;
}
- state=ssh_is_server_known(session);
+ state = ssh_session_is_known_server(session);
switch(state){
case SSH_SERVER_KNOWN_OK:
break; /* ok */