summaryrefslogtreecommitdiff
path: root/src/peers.h
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2025-07-03 21:37:46 +0200
committerJesper Jensen <jesper@jnsn.dev>2025-07-03 22:18:59 +0200
commita46e9a5cbb8fc233a0ccb47708e7686c2b561ac0 (patch)
tree7623f70cb31ca38ab63730dda8ed9b4ad039184b /src/peers.h
parent75e3fd649bf4baae66a7415634fe999c726ba149 (diff)
Only save config when there are worthy changes
Diffstat (limited to 'src/peers.h')
-rw-r--r--src/peers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peers.h b/src/peers.h
index 2c7845b..15044a7 100644
--- a/src/peers.h
+++ b/src/peers.h
@@ -36,5 +36,5 @@ int allocate_hashtable();
int add_peer(struct infohash* infohash, struct addr* peer, time_t now);
void get_peers(struct infohash* infohash, struct addr **peers, size_t *peers_len);
-void expire_hashes(time_t now);
+void expire_hashes(time_t now, bool *dirty);
void peer_update_metrics();