1
0
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:
Greg Alexander 2018-05-16 16:45:29 -04:00
parent 774da43429
commit 6c276207fa

View File

@ -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;