From a5b951a6a0e203ed6c36cf455f3032e885a4bd12 Mon Sep 17 00:00:00 2001 From: djm Date: Thu, 5 May 2022 00:55:11 +0000 Subject: [PATCH] mux.c: mark argument as const; from Martin Vahlensieck --- usr.bin/ssh/mux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/ssh/mux.c b/usr.bin/ssh/mux.c index 5a49f16afe9..fb5abc0555c 100644 --- a/usr.bin/ssh/mux.c +++ b/usr.bin/ssh/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 * @@ -227,7 +227,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; -- 2.20.1