chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: detect-virt: detect Xen
[elogind.git]
/
src
/
shared
/
strv.c
diff --git
a/src/shared/strv.c
b/src/shared/strv.c
index 8c6ba6a6336c1e252218c1c8b6109b81e77e37a1..d44a72fc484d09966ac745066499a71cedd05c65 100644
(file)
--- a/
src/shared/strv.c
+++ b/
src/shared/strv.c
@@
-278,7
+278,7
@@
char **strv_split_newlines(const char *s) {
return l;
}
return l;
}
-int strv_split_quoted(char ***t, const char *s,
bool relax
) {
+int strv_split_quoted(char ***t, const char *s,
UnquoteFlags flags
) {
size_t n = 0, allocated = 0;
_cleanup_strv_free_ char **l = NULL;
int r;
size_t n = 0, allocated = 0;
_cleanup_strv_free_ char **l = NULL;
int r;
@@
-289,7
+289,7
@@
int strv_split_quoted(char ***t, const char *s, bool relax) {
for (;;) {
_cleanup_free_ char *word = NULL;
for (;;) {
_cleanup_free_ char *word = NULL;
- r = unquote_first_word(&s, &word,
relax
);
+ r = unquote_first_word(&s, &word,
flags
);
if (r < 0)
return r;
if (r == 0)
if (r < 0)
return r;
if (r == 0)