X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Finvitation.c;h=a59045090f75cc237331a85c89b7093b2dbc61bd;hb=8f8424445810aa7d5e9d4d537494e64811a8e29f;hp=2dccd8fb9a1994706f0c8dfa7ba2b1fd60e07136;hpb=a38e0d621397d6d69c939ccc287d5a803b668195;p=tinc diff --git a/src/invitation.c b/src/invitation.c index 2dccd8fb..a5904509 100644 --- a/src/invitation.c +++ b/src/invitation.c @@ -32,12 +32,6 @@ #include "utils.h" #include "xalloc.h" -#ifdef HAVE_MINGW -#define SCRIPTEXTENSION ".bat" -#else -#define SCRIPTEXTENSION "" -#endif - int addressfamily = AF_UNSPEC; char *get_my_hostname() { @@ -881,7 +875,7 @@ int cmd_join(int argc, char *argv[]) { return 1; } - // Check if the hash of the key he have us matches the hash in the URL. + // Check if the hash of the key he gave us matches the hash in the URL. char *fingerprint = line + 2; digest_t *digest = digest_open_by_name("sha256", 18); if(!digest)