From: Guus Sliepen Date: Sat, 23 Jun 2018 20:32:19 +0000 (+0200) Subject: Remove address cache debug messages printed to stderr. X-Git-Tag: release-1.1pre17~12 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=291b8f864ea57dd68b894a3b1482ee822aad66ed;p=tinc Remove address cache debug messages printed to stderr. --- diff --git a/src/address_cache.c b/src/address_cache.c index 389615ea..445cd1c5 100644 --- a/src/address_cache.c +++ b/src/address_cache.c @@ -108,7 +108,6 @@ void add_recent_address(address_cache_t *cache, const sockaddr_t *sa) { FILE *fp = fopen(fname, "wb"); if(fp) { - fprintf(stderr, "Writing cache to %s\n", fname); fwrite(&cache->data, sizeof(cache->data), 1, fp); fclose(fp); } diff --git a/src/net_packet.c b/src/net_packet.c index 9baaf4c8..5d704815 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -167,7 +167,6 @@ static void udp_probe_h(node_t *n, vpn_packet_t *packet, length_t len) { packet used. */ if(!n->status.udp_confirmed) { n->status.udp_confirmed = true; - fprintf(stderr, "Updating address cache...\n"); if(!n->address_cache) { n->address_cache = open_address_cache(n);