From 9a8d4cd0fdd18127065cacbc11296933669ea9ca Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 23 Sep 2009 21:55:54 +0200 Subject: get rid of SSH_SESSION --- libssh/agent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libssh/agent.c') diff --git a/libssh/agent.c b/libssh/agent.c index 3a8954eb..81233c14 100644 --- a/libssh/agent.c +++ b/libssh/agent.c @@ -160,7 +160,7 @@ void agent_free(ssh_agent agent) { } } -static int agent_connect(SSH_SESSION *session) { +static int agent_connect(ssh_session session) { const char *auth_sock = NULL; if (session == NULL || session->agent == NULL) { @@ -475,7 +475,7 @@ error: return NULL; } -int agent_is_running(SSH_SESSION *session) { +int agent_is_running(ssh_session session) { if (session == NULL || session->agent == NULL) { return 0; } -- cgit