diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-19 20:45:27 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-20 15:06:58 +0100 |
commit | a2e0337875addaf08225fbf9b231435ba12a88b5 (patch) | |
tree | 2d8db845ca71eef64593bc564931d9f21fc1fe9b /src/core/load-fragment.c | |
parent | 6c8f2e7d78b1fe280588dc91beae90cdf36fcd49 (diff) |
util: make http url validity checks more generic, and move them to util.c
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r-- | src/core/load-fragment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index 242b684ddf..516731aba2 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -2298,7 +2298,7 @@ int config_parse_documentation(const char *unit, for (a = b = u->documentation; a && *a; a++) { - if (is_valid_documentation_url(*a)) + if (documentation_url_is_valid(*a)) *(b++) = *a; else { log_syntax(unit, LOG_ERR, filename, line, EINVAL, |