summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2019-05-31 13:21:17 +0200
committerWim Taymans <wtaymans@redhat.com>2019-05-31 13:21:17 +0200
commit80488dba4a30f67490f211ede32d292898176e4f (patch)
treed56d0952ca7c0cbdb363e307d97f23da133c1447
parent423f7ed8580e844d10260258b2f927cc01f7bfc7 (diff)
daemon-config: actually use the stripped line
-rw-r--r--src/daemon/daemon-config.c3
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;