X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=examples%2Fchatpp.cc;h=d3690404fc2869b3b8998c849eb5484b193b5382;hb=ecfe7cbbe08dc99ba6f329ad66bb8ee09ce9539b;hp=10870ef55a85b635a725dfbecf2cca31fcf49f94;hpb=668664d0ea90dc81670cccd7b7d56b36b8360eaa;p=meshlink 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());