chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus: make use of sd_bus_try_close() in exit-on-idle services
[elogind.git]
/
src
/
shared
/
conf-parser.c
diff --git
a/src/shared/conf-parser.c
b/src/shared/conf-parser.c
index 77a172e9f1dffbdbd5ccf7a8802a49a3e2930c9d..158e9efd4cecb260bb15426379fa468e9c8dfe7b 100644
(file)
--- a/
src/shared/conf-parser.c
+++ b/
src/shared/conf-parser.c
@@
-688,7
+688,7
@@
int config_parse_strv(const char *unit,
FOREACH_WORD_QUOTED(w, l, rvalue, state) {
char *n;
- n =
cunescape_length
(w, l);
+ n =
strndup
(w, l);
if (!n)
return log_oom();