diff options
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c index 47da11c1b8..c1ee936aaf 100644 --- a/src/util.c +++ b/src/util.c @@ -641,8 +641,8 @@ int parse_env_file( n = strcspn(p, seperator); if (n >= 2 && - strchr(QUOTES, v[0]) && - v[n-1] == v[0]) + strchr(QUOTES, p[0]) && + p[n-1] == p[0]) v = strndup(p+1, n-2); else v = strndup(p, n); |