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/import/import.c | |
parent | 6c8f2e7d78b1fe280588dc91beae90cdf36fcd49 (diff) |
util: make http url validity checks more generic, and move them to util.c
Diffstat (limited to 'src/import/import.c')
-rw-r--r-- | src/import/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |