]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-dns-domain.c
dns-domain: rework dns_label_escape() to not imply memory allocation
[thirdparty/systemd.git] / src / test / test-dns-domain.c
index df34b72ab67f85316231d9e6386ebd5c8a174535..f010e4e19ac4a26ba4e46e5c4b427bf61821dbda 100644 (file)
@@ -126,7 +126,7 @@ static void test_dns_label_escape_one(const char *what, size_t l, const char *ex
         _cleanup_free_ char *t = NULL;
         int r;
 
-        r = dns_label_escape(what, l, &t);
+        r = dns_label_escape_new(what, l, &t);
         assert_se(r == ret);
 
         if (r < 0)