projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't force a .bat extension for scripts under Windows.
[tinc]
/
src
/
invitation.c
diff --git
a/src/invitation.c
b/src/invitation.c
index
2dccd8f
..
a590450
100644
(file)
--- a/
src/invitation.c
+++ b/
src/invitation.c
@@
-32,12
+32,6
@@
#include "utils.h"
#include "xalloc.h"
#include "utils.h"
#include "xalloc.h"
-#ifdef HAVE_MINGW
-#define SCRIPTEXTENSION ".bat"
-#else
-#define SCRIPTEXTENSION ""
-#endif
-
int addressfamily = AF_UNSPEC;
char *get_my_hostname() {
int addressfamily = AF_UNSPEC;
char *get_my_hostname() {
@@
-881,7
+875,7
@@
int cmd_join(int argc, char *argv[]) {
return 1;
}
return 1;
}
- // Check if the hash of the key he
h
ave us matches the hash in the URL.
+ // Check if the hash of the key he
g
ave us matches the hash in the URL.
char *fingerprint = line + 2;
digest_t *digest = digest_open_by_name("sha256", 18);
if(!digest)
char *fingerprint = line + 2;
digest_t *digest = digest_open_by_name("sha256", 18);
if(!digest)