From a2e0337875addaf08225fbf9b231435ba12a88b5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 19 Jan 2015 20:45:27 +0100 Subject: util: make http url validity checks more generic, and move them to util.c --- src/import/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/import/import.c') diff --git a/src/import/import.c b/src/import/import.c index af8d0ec42b..9b10de5559 100644 --- a/src/import/import.c +++ b/src/import/import.c @@ -90,7 +90,7 @@ static int pull_raw(int argc, char *argv[], void *userdata) { int r; url = argv[1]; - if (!raw_url_is_valid(url)) { + if (!http_url_is_valid(url)) { log_error("URL '%s' is not valid.", url); return -EINVAL; } -- cgit v1.2.3-54-g00ecf