From 291b8f864ea57dd68b894a3b1482ee822aad66ed Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 23 Jun 2018 22:32:19 +0200 Subject: [PATCH] Remove address cache debug messages printed to stderr. --- src/address_cache.c | 1 - src/net_packet.c | 1 - 2 files changed, 2 deletions(-) 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); -- 2.20.1