From 5ea8088938a917d4956b377e8fa94b2b469cc018 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 9 Feb 2009 12:56:58 +0000 Subject: Rename function to agent_is_running. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@236 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libssh/auth.c') diff --git a/libssh/auth.c b/libssh/auth.c index 3ec00ca..42e852e 100644 --- a/libssh/auth.c +++ b/libssh/auth.c @@ -359,7 +359,7 @@ int ssh_userauth_agent_pubkey(SSH_SESSION *session, const char *username, int err = SSH_AUTH_ERROR; enter_function(); - if (! agent_running(session)) { + if (! agent_is_running(session)) { return err; } @@ -516,7 +516,7 @@ int ssh_userauth_autopubkey(SSH_SESSION *session, const char *passphrase) { /* try ssh-agent keys first */ #ifndef _WIN32 - if (agent_running(session)) { + if (agent_is_running(session)) { ssh_log(session, SSH_LOG_RARE, "Trying to authenticate with SSH agent keys"); -- cgit