Mercurial > dropbear
diff svr-agentfwd.c @ 1459:06d52bcb8094
Pointer parameter could be declared as pointing to const
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Sat, 19 Aug 2017 17:16:13 +0200 |
parents | 750ec4ec4cbe |
children | 58a74cb829b8 |
line wrap: on
line diff
--- a/svr-agentfwd.c Sat Aug 12 20:51:58 2017 +0200 +++ b/svr-agentfwd.c Sat Aug 19 17:16:13 2017 +0200 @@ -118,7 +118,7 @@ /* 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;