From a46e9a5cbb8fc233a0ccb47708e7686c2b561ac0 Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Thu, 3 Jul 2025 21:37:46 +0200 Subject: Only save config when there are worthy changes --- test/peers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/peers.c') diff --git a/test/peers.c b/test/peers.c index b31186b..6764ce1 100644 --- a/test/peers.c +++ b/test/peers.c @@ -130,7 +130,8 @@ void test_expired() { rc = add_peer(&nexthash, &other_addr, 2); TEST_ASSERT_EQUAL(0, rc); - expire_hashes(HASH_TIMEOUT + 1); + bool dirtyconf; + expire_hashes(HASH_TIMEOUT + 1, &dirtyconf); { struct addr* found; -- cgit v1.2.3