X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=test%2Fchannels.c;h=280902cbedd81dc76c68b02c386ca999a279cc27;hb=cfb5273b8e1e5ab7dadb1e05ed7294fcb394e5e8;hp=8327e8ed651a020ffdc53eb5672f3977990528b2;hpb=4529e8c8db68bc40ff80947139366514787d5130;p=meshlink diff --git a/test/channels.c b/test/channels.c index 8327e8ed..280902cb 100644 --- a/test/channels.c +++ b/test/channels.c @@ -35,13 +35,13 @@ bool accept_cb(meshlink_handle_t *mesh, meshlink_channel_t *channel, meshlink_no int main(int argc, char *argv[]) { // Open two new meshlink instance. - meshlink_handle_t *mesh1 = meshlink_open("channels_conf.1", "foo"); + meshlink_handle_t *mesh1 = meshlink_open("channels_conf.1", "foo", "channels"); if(!mesh1) { fprintf(stderr, "Could not initialize configuration for foo\n"); return 1; } - meshlink_handle_t *mesh2 = meshlink_open("channels_conf.2", "bar"); + meshlink_handle_t *mesh2 = meshlink_open("channels_conf.2", "bar", "channels"); if(!mesh2) { fprintf(stderr, "Could not initialize configuration for bar\n"); return 1;