projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unnecessary variables and functions.
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
7ce4f31
..
8df87d6
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-116,9
+116,6
@@
void terminate_connection(connection_t *c, bool report) {
if(c->node)
c->node->connection = NULL;
- if(c->socket)
- closesocket(c->socket);
-
if(c->edge) {
if(report && !tunnelserver)
send_del_edge(broadcast, c->edge);