From f88e6be5ee31ff0e45fabcdedaf26d3be0d4817a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 10 Nov 2014 23:44:34 +0100 Subject: strv: rework strv_split_quoted() to use unquote_first_word() This should make the unquoting scheme a bit less naive. --- src/journal-remote/journal-remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/journal-remote') diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c index 7239b8cc6d..b3f5c828dd 100644 --- a/src/journal-remote/journal-remote.c +++ b/src/journal-remote/journal-remote.c @@ -149,7 +149,7 @@ static int spawn_getter(const char *getter, const char *url) { _cleanup_strv_free_ char **words = NULL; assert(getter); - r = strv_split_quoted(&words, getter); + r = strv_split_quoted(&words, getter, false); if (r < 0) { log_error("Failed to split getter option: %s", strerror(-r)); return r; -- cgit v1.2.3-54-g00ecf