mirror of
http://galexander.org/git/simplesshd.git
synced 2024-11-27 09:48:08 +00:00
add some consts to get rid of warnings (this is included in version 18
release!)
This commit is contained in:
parent
774da43429
commit
6c276207fa
@ -574,12 +574,12 @@ int spawn_command(void(*exec_fn)(void *user_data), void *exec_data,
|
||||
static void
|
||||
install_environment(void)
|
||||
{
|
||||
char *s = conf_env;
|
||||
const char *s = conf_env;
|
||||
if (!s) {
|
||||
return;
|
||||
}
|
||||
while (*s) {
|
||||
char *name, *val;
|
||||
const char *name, *val;
|
||||
int name_len, val_len;
|
||||
|
||||
name = s;
|
||||
|
Loading…
Reference in New Issue
Block a user