]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: mux.c: mark argument as const; from Martin Vahlensieck
authordjm@openbsd.org <djm@openbsd.org>
Thu, 5 May 2022 00:55:11 +0000 (00:55 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 5 May 2022 01:34:52 +0000 (11:34 +1000)
OpenBSD-Commit-ID: 69a1a93a55986c7c2ad9f733c093b46a47184341

mux.c

diff --git a/mux.c b/mux.c
index 176f035c86f5cf4049cc0dc039e8802488a9b7c5..924fbead07a7aa2db51bd02dc5186029e541411f 100644 (file)
--- a/mux.c
+++ b/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>
  *
@@ -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. */
 static int
-env_permitted(char *env)
+env_permitted(const char *env)
 {
        int i, ret;
        char name[1024], *cp;