summaryrefslogtreecommitdiff
path: root/svr-agentfwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-agentfwd.c')
-rw-r--r--svr-agentfwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-agentfwd.c b/svr-agentfwd.c
index d88f203..5686aea 100644
--- a/svr-agentfwd.c
+++ b/svr-agentfwd.c
@@ -118,7 +118,7 @@ static void agentaccept(struct Listener *UNUSED(listener), int sock) {
/* set up the environment variable pointing to the socket. This is called
* just before command/shell execution, after dropping privileges */
-void svr_agentset(struct ChanSess * chansess) {
+void svr_agentset(const struct ChanSess * chansess) {
char *path = NULL;
int len;