projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix event loop io tree inconsistency on Windows.
[tinc]
/
src
/
invitation.c
diff --git
a/src/invitation.c
b/src/invitation.c
index
7fb96da
..
a6996cc
100644
(file)
--- a/
src/invitation.c
+++ b/
src/invitation.c
@@
-906,7
+906,7
@@
int cmd_join(int argc, char *argv[]) {
if(!port || !*port)
port = "655";
- if(!b64decode(slash, hash,
18) || !b64decode(slash + 24, cookie, 18
))
+ if(!b64decode(slash, hash,
24) || !b64decode(slash + 24, cookie, 24
))
goto invalid;
// Generate a throw-away key for the invitation.