From cc6199d9f0e40e7d2829e63a9d5a2c0852714cdc Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 30 Apr 2009 14:19:14 +0000 Subject: Reformat ssh_auth_list(). git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@663 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/auth.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libssh/auth.c') 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){ -- cgit