X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=examples%2Fchat.c;h=c6d67fb5c1ba2c111d4c814fdc1971699dc85ccc;hb=a569797b9cbd3db571ea9216fd103347acd6ccff;hp=3eaa5c7e3b3fe5ef093b7955d0db011cf15591f0;hpb=f416117836dc944822cac06efb54377fb21ee66f;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;