chiark / gitweb /
util: make http url validity checks more generic, and move them to util.c
[elogind.git] / src / import / import.c
index af8d0ec42b27e1ad479d5f643ad52eb18103d8e4..9b10de55599abb54f16d9bbf9bdbb29891a5784c 100644 (file)
@@ -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;
         }