X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Ftrio.c;h=4362f6da7b09fc98d9fc979e960e7107c0b31915;hb=5f2e8877486869471041b0eca1aaed841c41a1a9;hp=9fa7de33ea37e2f467de4473d071434fe8073c1d;hpb=f1da50294494310d7a299c29af5649d4415bd38a;p=meshlink diff --git a/test/trio.c b/test/trio.c index 9fa7de33..4362f6da 100644 --- a/test/trio.c +++ b/test/trio.c @@ -65,7 +65,7 @@ int main() { assert(mesh[i]); free(path); - meshlink_add_address(mesh[i], "localhost"); + assert(meshlink_set_canonical_address(mesh[i], meshlink_get_self(mesh[i]), "localhost", NULL)); data[i] = meshlink_export(mesh[i]); assert(data[i]);