1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

Reformat ssh_auth_list().

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@663 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Andreas Schneider
2009-04-30 14:19:14 +00:00
parent e8f783eb36
commit cc6199d9f0

View File

@@ -161,10 +161,11 @@ static int wait_auth_status(SSH_SESSION *session, int kbdint) {
}
int ssh_auth_list(SSH_SESSION *session) {
if (session == NULL) {
return -1;
}
return session->auth_methods;
if (session == NULL) {
return -1;
}
return session->auth_methods;
}
int ssh_userauth_list(SSH_SESSION *session, const char *username){