From: djm Date: Thu, 5 May 2022 00:55:11 +0000 (+0000) Subject: mux.c: mark argument as const; from Martin Vahlensieck X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a5b951a6a0e203ed6c36cf455f3032e885a4bd12;p=openbsd mux.c: mark argument as const; from Martin Vahlensieck --- 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;