diff options
author | Wim Taymans <wtaymans@redhat.com> | 2019-05-31 13:21:17 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2019-05-31 13:21:17 +0200 |
commit | 80488dba4a30f67490f211ede32d292898176e4f (patch) | |
tree | d56d0952ca7c0cbdb363e307d97f23da133c1447 | |
parent | 423f7ed8580e844d10260258b2f927cc01f7bfc7 (diff) |
daemon-config: actually use the stripped line
-rw-r--r-- | src/daemon/daemon-config.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/daemon/daemon-config.c b/src/daemon/daemon-config.c index cac1d583..d6225c01 100644 --- a/src/daemon/daemon-config.c +++ b/src/daemon/daemon-config.c @@ -53,8 +53,7 @@ parse_line(struct pw_daemon_config *config, *p = '\0'; /* remove whitespaces */ - pw_strip(line, "\n\r \t"); - + line = pw_strip(line, "\n\r \t"); if (*line == '\0') /* empty line */ return 0; |