From 9b93553d7d5dbe39e2aef6221e68dab62c2f3c08 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 15 Jul 2018 11:19:19 +0200 Subject: [PATCH] Pass appname in the ID string during invitations as well. --- src/meshlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshlink.c b/src/meshlink.c index fd9b8827..573dfe49 100644 --- a/src/meshlink.c +++ b/src/meshlink.c @@ -2126,7 +2126,7 @@ bool meshlink_join(meshlink_handle_t *mesh, const char *invitation) { mesh->blen = 0; - if(!sendline(mesh->sock, "0 ?%s %d.%d", b64key, PROT_MAJOR, 1)) { + if(!sendline(mesh->sock, "0 ?%s %d.%d %s", b64key, PROT_MAJOR, 1, mesh->appname)) { logger(mesh, MESHLINK_DEBUG, "Error sending request to %s port %s: %s\n", address, port, strerror(errno)); closesocket(mesh->sock); meshlink_errno = MESHLINK_ENETWORK; -- 2.39.5