mirror of
http://galexander.org/git/simplesshd.git
synced 2025-02-17 09:11:59 +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
|
static void
|
||||||
install_environment(void)
|
install_environment(void)
|
||||||
{
|
{
|
||||||
char *s = conf_env;
|
const char *s = conf_env;
|
||||||
if (!s) {
|
if (!s) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while (*s) {
|
while (*s) {
|
||||||
char *name, *val;
|
const char *name, *val;
|
||||||
int name_len, val_len;
|
int name_len, val_len;
|
||||||
|
|
||||||
name = s;
|
name = s;
|
||||||
|
Loading…
Reference in New Issue
Block a user