diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-06-28 11:15:05 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-06-28 11:35:05 +0200 |
commit | 4ec851414248bb2031d805b40c40fdbbef899112 (patch) | |
tree | 3d19ac5c5bc39bab2fe269b6056e6ff46ca4f7f3 /src/test/test-string-util.c | |
parent | cae90de3d3e251692a72f3e8261c833e9ed2eaf7 (diff) | |
download | systemd-4ec851414248bb2031d805b40c40fdbbef899112.tar.gz |
Rename EXTRACT_QUOTES to EXTRACT_UNQUOTE
Whenever I see EXTRACT_QUOTES, I'm always confused whether it means to
leave the quotes in or to take them out. Let's say "unquote", like we
say "cunescape".
Diffstat (limited to 'src/test/test-string-util.c')
-rw-r--r-- | src/test/test-string-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-string-util.c b/src/test/test-string-util.c index 064a5abdac..f7dde618d3 100644 --- a/src/test/test-string-util.c +++ b/src/test/test-string-util.c @@ -380,7 +380,7 @@ static void check(const char *test, char** expected, bool trailing) { for (;;) { _cleanup_free_ char *word = NULL; - r = extract_first_word(&test, &word, NULL, EXTRACT_QUOTES); + r = extract_first_word(&test, &word, NULL, EXTRACT_UNQUOTE); if (r == 0) { assert_se(!trailing); break; |