From: Guus Sliepen Date: Wed, 20 Nov 2013 22:02:20 +0000 (+0100) Subject: Remove an unused variable. X-Git-Tag: import-tinc-1.1~46 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=c1703ea9172be05f501d636510834e31d5d4f98c;p=meshlink Remove an unused variable. --- diff --git a/src/net_socket.c b/src/net_socket.c index ab3c17e0..6828da7a 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -594,7 +594,6 @@ void handle_new_meta_connection(void *data, int flags) { // Check if we get many connections from the same host static sockaddr_t prev_sa; - static time_t prev_time; static int tarpit = -1; if(tarpit >= 0) { @@ -621,7 +620,6 @@ void handle_new_meta_connection(void *data, int flags) { } memcpy(&prev_sa, &sa, sizeof sa); - prev_time = now.tv_sec; // Check if we get many connections from different hosts