]> git.meshlink.io Git - meshlink/blobdiff - examples/chat.c
manynodes example: committed /test command to test if it is possible to succefully...
[meshlink] / examples / chat.c
index 6ffebb865ceaec0404df278beca4bb6002b803bc..ddb43bf7c477aa6eee66718e37d8208ea539de14 100644 (file)
@@ -187,7 +187,7 @@ int main(int argc, char *argv[]) {
        if(argc > 2)
                nick = argv[2];
 
-       meshlink_handle_t *mesh = meshlink_open(confbase, nick);
+       meshlink_handle_t *mesh = meshlink_open(confbase, nick, "chat");
        if(!mesh) {
                fprintf(stderr, "Could not open MeshLink: %s\n", meshlink_strerror(meshlink_errno));
                return 1;