X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=examples%2Fchatpp.cc;fp=examples%2Fchatpp.cc;h=331f6584543b35ae236bc794e961f30611866ffe;hb=a021bf25db676353b8ea50740ce343962c3dddb9;hp=e500ad2733547b63fcd29ef46293061baafc5767;hpb=93ede0a8015fbe09968544961b7ac23a12e1a534;p=meshlink diff --git a/examples/chatpp.cc b/examples/chatpp.cc index e500ad27..331f6584 100644 --- a/examples/chatpp.cc +++ b/examples/chatpp.cc @@ -187,7 +187,7 @@ int main(int argc, char *argv[]) { if(argc > 2) nick = argv[2]; - ChatMesh* mesh = meshlink::open(confbase, nick, "chatpp", STATIONARY); + ChatMesh* mesh = meshlink::open(confbase, nick, "chatpp", DEV_CLASS_STATIONARY); if(!mesh) { fprintf(stderr, "Could not open MeshLink: %s\n", meshlink::strerror());