summaryrefslogtreecommitdiffhomepage
path: root/svr-chansession.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-07-30 15:14:33 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-07-30 15:14:33 +0000
commitbb8234c2f12998b6cd9590f7dddd08d1871a5d1f (patch)
tree8860f704799ceb21d00a5ee830f94d1a7117e74e /svr-chansession.c
parentbacd2a8c795f49822146c1eea0d66c2438c26d7f (diff)
Agent forwarding works
--HG-- branch : agent-client extra : convert_revision : eb0dae4b62e243ba37a897beb7ba81a4f637d8b3
Diffstat (limited to 'svr-chansession.c')
-rw-r--r--svr-chansession.c6
1 files changed, 3 insertions, 3 deletions
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());