diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-11-27 21:55:17 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-11-27 21:55:17 -0500 |
commit | d4ab6ef08723c2c47802fd56222bf6105919ec3b (patch) | |
tree | 3fd48e91d0ea5a2710fa6bb025b0a4c16e572bb6 | |
parent | ea25d7e51c2236e739aef2718499781dd37ef53d (diff) | |
download | expac-d4ab6ef08723c2c47802fd56222bf6105919ec3b.tar.xz |
conf: always trim the key name
-rw-r--r-- | conf.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -155,12 +155,11 @@ static int parse_one_file(config_t *config, const char *filename, char **section strsep(&val, "="); strtrim(line); + strtrim(val); if(strcmp(line, "Include") == 0) { int k; - strtrim(val); - k = parse_include(config, val, section); if(k < 0) { return k; |