projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused functions and variables.
[tinc]
/
src
/
protocol_key.c
diff --git
a/src/protocol_key.c
b/src/protocol_key.c
index
ab56ac5
..
63fcd97
100644
(file)
--- a/
src/protocol_key.c
+++ b/
src/protocol_key.c
@@
-34,7
+34,7
@@
static bool mykeyused = false;
static bool mykeyused = false;
-void send_key_changed() {
+void send_key_changed(
void
) {
splay_node_t *node;
connection_t *c;
splay_node_t *node;
connection_t *c;
@@
-275,7
+275,7
@@
bool ans_key_h(connection_t *c, char *request) {
update_node_udp(from, &sa);
}
update_node_udp(from, &sa);
}
- if(from->options & OPTION_PMTU_DISCOVERY && !
from->mtuevent
)
+ if(from->options & OPTION_PMTU_DISCOVERY && !
event_initialized(&from->mtuevent)
)
send_mtu_probe(from);
return true;
send_mtu_probe(from);
return true;