daemon-config: actually use the stripped line

This commit is contained in:
Wim Taymans 2019-05-31 13:21:17 +02:00
parent 423f7ed858
commit 80488dba4a

View file

@ -53,8 +53,7 @@ parse_line(struct pw_daemon_config *config,
*p = '\0'; *p = '\0';
/* remove whitespaces */ /* remove whitespaces */
pw_strip(line, "\n\r \t"); line = pw_strip(line, "\n\r \t");
if (*line == '\0') /* empty line */ if (*line == '\0') /* empty line */
return 0; return 0;