diff options
Diffstat (limited to 'src/network/test-network.c')
-rw-r--r-- | src/network/test-network.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/test-network.c b/src/network/test-network.c index 5909cc790e..80676651a9 100644 --- a/src/network/test-network.c +++ b/src/network/test-network.c @@ -143,8 +143,8 @@ static void test_network_get(Manager *manager, struct udev_device *loopback) { static void test_address_equality(void) { _cleanup_address_free_ Address *a1 = NULL, *a2 = NULL; - assert_se(address_new_dynamic(&a1) >= 0); - assert_se(address_new_dynamic(&a2) >= 0); + assert_se(address_new(&a1) >= 0); + assert_se(address_new(&a2) >= 0); assert_se(address_equal(NULL, NULL)); assert_se(!address_equal(a1, NULL)); |