X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=examples%2Fchatpp.cc;fp=examples%2Fchatpp.cc;h=d3690404fc2869b3b8998c849eb5484b193b5382;hp=10870ef55a85b635a725dfbecf2cca31fcf49f94;hb=43d8f901c4bbb693643bb6f188c97dd28c1d0b0a;hpb=ed1f31db1e8840ffd6849b48bcad93e9975a24bb diff --git a/examples/chatpp.cc b/examples/chatpp.cc index 10870ef5..d3690404 100644 --- a/examples/chatpp.cc +++ b/examples/chatpp.cc @@ -49,7 +49,7 @@ static void parse_command(meshlink::mesh *mesh, char *buf) { return; } - invitation = mesh->invite(arg); + invitation = mesh->invite(NULL, arg); if(!invitation) { fprintf(stderr, "Could not invite '%s': %s\n", arg, meshlink::strerror());