X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=examples%2Fchat.c;h=c6d67fb5c1ba2c111d4c814fdc1971699dc85ccc;hb=64f243ffc7f01bfa3a0980fb0f92106224676f06;hp=3eaa5c7e3b3fe5ef093b7955d0db011cf15591f0;hpb=2200060c4eaadae36b8150aa33b0db7c0d74722f;p=meshlink diff --git a/examples/chat.c b/examples/chat.c index 3eaa5c7e..c6d67fb5 100644 --- a/examples/chat.c +++ b/examples/chat.c @@ -195,7 +195,7 @@ int main(int argc, char *argv[]) { meshlink_set_log_cb(NULL, MESHLINK_INFO, log_message); - meshlink_handle_t *mesh = meshlink_open(confbase, nick, "chat", STATIONARY); + meshlink_handle_t *mesh = meshlink_open(confbase, nick, "chat", DEV_CLASS_STATIONARY); if(!mesh) { fprintf(stderr, "Could not open MeshLink: %s\n", meshlink_strerror(meshlink_errno)); return 1;