projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update documentation to match tincctl changes
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
2c7cc55
..
1b5bb16
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-121,8
+121,6
@@
void terminate_connection(connection_t *c, bool report) {
if(c->socket)
closesocket(c->socket);
if(c->socket)
closesocket(c->socket);
- event_del(&c->ev);
-
if(c->edge) {
if(report && !tunnelserver)
send_del_edge(broadcast, c->edge);
if(c->edge) {
if(report && !tunnelserver)
send_del_edge(broadcast, c->edge);
@@
-146,12
+144,6
@@
void terminate_connection(connection_t *c, bool report) {
}
}
}
}
- free(c->outbuf);
- c->outbuf = NULL;
- c->outbuflen = 0;
- c->outbufsize = 0;
- c->outbufstart = 0;
-
/* Check if this was our outgoing connection */
if(c->outgoing)
/* Check if this was our outgoing connection */
if(c->outgoing)