mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-28 04:52:07 +00:00
upstream: mux.c: mark argument as const; from Martin Vahlensieck
OpenBSD-Commit-ID: 69a1a93a55986c7c2ad9f733c093b46a47184341
This commit is contained in:
parent
f4e67c0ad2
commit
37b62fd5ca
4
mux.c
4
mux.c
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: mux.c,v 1.92 2022/01/11 01:26:47 djm Exp $ */
|
/* $OpenBSD: mux.c,v 1.93 2022/05/05 00:55:11 djm Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
|
* Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
|
||||||
*
|
*
|
||||||
@ -240,7 +240,7 @@ mux_master_control_cleanup_cb(struct ssh *ssh, int cid, void *unused)
|
|||||||
|
|
||||||
/* Check mux client environment variables before passing them to mux master. */
|
/* Check mux client environment variables before passing them to mux master. */
|
||||||
static int
|
static int
|
||||||
env_permitted(char *env)
|
env_permitted(const char *env)
|
||||||
{
|
{
|
||||||
int i, ret;
|
int i, ret;
|
||||||
char name[1024], *cp;
|
char name[1024], *cp;
|
||||||
|
Loading…
Reference in New Issue
Block a user