projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't try to mkdir(CONFDIR) on Windows when there is a registry key for tinc.
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
6fdd2bc
..
29ad04e
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-82,6
+82,10
@@
void free_connection_partially(connection_t *c) {
closesocket(c->socket);
c->socket = -1;
+
+ c->protocol_major = 0;
+ c->protocol_minor = 0;
+ c->allow_request = 0;
}
void free_connection(connection_t *c) {