projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix sparse warnings and add an extra sprinkling of const.
[oweals/tinc.git]
/
src
/
net_socket.c
diff --git
a/src/net_socket.c
b/src/net_socket.c
index 2e6b068552d3838cbeb175c32f97637cf7d83fcc..a45bc204fad49a162d08d8a263b80b14afd5a6e0 100644
(file)
--- a/
src/net_socket.c
+++ b/
src/net_socket.c
@@
-535,7
+535,7
@@
bool handle_new_meta_connection(int sock) {
return true;
}
-void free_outgoing(outgoing_t *outgoing) {
+
static
void free_outgoing(outgoing_t *outgoing) {
if(outgoing->ai)
freeaddrinfo(outgoing->ai);