X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fimport-export.c;h=f2229589ab5da907870561820df3fc5e8bff3814;hb=c36749890a204b8c852528e89020aac6002e0a1d;hp=d6498c24b6647828a1fffb45f676623ee67eb2fc;hpb=6d1ac53f5c34ece4c7a82efb432a8e1d81fcff0d;p=meshlink diff --git a/test/import-export.c b/test/import-export.c index d6498c24..f2229589 100644 --- a/test/import-export.c +++ b/test/import-export.c @@ -15,13 +15,13 @@ void status_cb(meshlink_handle_t *mesh, meshlink_node_t *node, bool reachable) { int main(int argc, char *argv[]) { // Open two new meshlink instance. - meshlink_handle_t *mesh1 = meshlink_open("import_export_conf.1", "foo"); + meshlink_handle_t *mesh1 = meshlink_open("import_export_conf.1", "foo", "import-export"); if(!mesh1) { fprintf(stderr, "Could not initialize configuration for foo\n"); return 1; } - meshlink_handle_t *mesh2 = meshlink_open("import_export_conf.2", "bar"); + meshlink_handle_t *mesh2 = meshlink_open("import_export_conf.2", "bar", "import-export"); if(!mesh2) { fprintf(stderr, "Could not initialize configuration for bar\n"); return 1;