diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-30 14:19:14 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-30 14:19:14 +0000 |
commit | cc6199d9f0e40e7d2829e63a9d5a2c0852714cdc (patch) | |
tree | 106f618db1f80aefca7bbb21a1695084d67b3191 /libssh/auth.c | |
parent | e8f783eb367bd0d077803ea64f97a880e6450b78 (diff) | |
download | libssh-cc6199d9f0e40e7d2829e63a9d5a2c0852714cdc.tar.gz libssh-cc6199d9f0e40e7d2829e63a9d5a2c0852714cdc.tar.xz libssh-cc6199d9f0e40e7d2829e63a9d5a2c0852714cdc.zip |
Reformat ssh_auth_list().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@663 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/auth.c')
-rw-r--r-- | libssh/auth.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libssh/auth.c b/libssh/auth.c index 9b91d0c..e094562 100644 --- a/libssh/auth.c +++ b/libssh/auth.c @@ -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){ |