dht: give current time through periodic

This commit is contained in:
Adrien Béraud committed 2020-01-18 13:58:22 -05:00
1 parent 2900b1d17f
commit 900655b11f
8 files changed
+18 -17

No files matched your search

+1 -1
View File
@@ -280,7 +280,7 @@ DhtProxyClient::isRunning(sa_family_t af) const
}
time_point
DhtProxyClient::periodic(const uint8_t*, size_t, SockAddr)
DhtProxyClient::periodic(const uint8_t*, size_t, SockAddr, const time_point& now)
{
// Exec all currently stored callbacks
decltype(callbacks_) callbacks;