From bb8234c2f12998b6cd9590f7dddd08d1871a5d1f Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 30 Jul 2009 15:14:33 +0000 Subject: Agent forwarding works --HG-- branch : agent-client extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3 --- svr-chansession.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svr-chansession.c') diff --git a/svr-chansession.c b/svr-chansession.c index 23dad8c..574e46f 100644 --- a/svr-chansession.c +++ b/svr-chansession.c @@ -287,7 +287,7 @@ static void closechansess(struct Channel *channel) { #endif #ifndef DISABLE_AGENTFWD - agentcleanup(chansess); + svr_agentcleanup(chansess); #endif /* clear child pid entries */ @@ -346,7 +346,7 @@ static void chansessionrequest(struct Channel *channel) { #endif #ifndef DISABLE_AGENTFWD } else if (strcmp(type, "auth-agent-req@openssh.com") == 0) { - ret = agentreq(chansess); + ret = svr_agentreq(chansess); #endif } else if (strcmp(type, "signal") == 0) { ret = sessionsignal(chansess); @@ -894,7 +894,7 @@ static void execchild(void *user_data) { #endif #ifndef DISABLE_AGENTFWD /* set up agent env variable */ - agentset(chansess); + svr_agentset(chansess); #endif usershell = m_strdup(get_user_shell()); -- cgit v1.2.3