X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_socket.c;h=c2a685965a362c1314308b4046e1fc8d16585f0e;hp=4b94f33930a9fda03d387ea2d2d78c69d8fc16d8;hb=64e0519cb5042b251e7345f07429e8b82e2ac09b;hpb=de78d79db84c486afcc353884ec1770866beb653 diff --git a/src/net_socket.c b/src/net_socket.c index 4b94f339..c2a68596 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -242,8 +242,6 @@ void retry_outgoing(outgoing_t *outgoing) void finish_connecting(connection_t *c) { - int option; - cp(); ifdebug(CONNECTIONS) logger(LOG_INFO, _("Connected to %s (%s)"), c->name, c->hostname); @@ -258,7 +256,7 @@ void finish_connecting(connection_t *c) void do_outgoing_connection(connection_t *c) { char *address, *port; - int option, result, flags; + int result; cp(); @@ -388,7 +386,6 @@ void setup_outgoing_connection(outgoing_t *outgoing) */ bool handle_new_meta_connection(int sock) { - int option; connection_t *c; sockaddr_t sa; int fd;