chiark / gitweb /
util: make http url validity checks more generic, and move them to util.c
[elogind.git] / src / core / load-fragment.c
index 242b684ddf1b55e52eeec7e65b26b1b33e1eb791..516731aba26cf8497ec0d296d4693df1a2ec2e1e 100644 (file)
@@ -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,