Commit 5a0c13c4 authored by Niels Möller's avatar Niels Möller

(start_service): Fixed ENV_MAX handling.

Rev: src/lshd-userauth.c:1.5
parent 426a114f
......@@ -549,9 +549,9 @@ start_service(struct lshd_user *user, char **argv)
support providing command line options with the service, that
might be a cleaner alternative. */
#define ENV_MAX 7
#define ENV_MAX 8
const char *env[ENV_MAX + 1];
const char *env[ENV_MAX];
const char *tz = getenv(ENV_TZ);
const char *cname = lsh_get_cstring(user->name);
const char *config_dir = getenv(ENV_LSHD_CONFIG_DIR);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment