chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6482942
)
tree-wide: drop unneded WHITESPACE param to extract_first_word
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 28 Oct 2016 00:06:44 +0000
(20:06 -0400)
committer
Sven Eden
<yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:34 +0000
(17:58 +0200)
It's the default, and NULL is shorter.
src/shared/conf-parser.c
patch
|
blob
|
history
diff --git
a/src/shared/conf-parser.c
b/src/shared/conf-parser.c
index 78757d534e6288261ebdb3a36f7220c3fcd1c067..0f6bf85b0386809443bc3bdb3029b6445ea11ed1 100644
(file)
--- a/
src/shared/conf-parser.c
+++ b/
src/shared/conf-parser.c
@@
-790,7
+790,7
@@
int config_parse_strv(const char *unit,
for (;;) {
char *word = NULL;
- r = extract_first_word(&rvalue, &word,
WHITESPACE
, EXTRACT_QUOTES|EXTRACT_RETAIN_ESCAPE);
+ r = extract_first_word(&rvalue, &word,
NULL
, EXTRACT_QUOTES|EXTRACT_RETAIN_ESCAPE);
if (r == 0)
break;
if (r == -ENOMEM)