mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
dht: give current time through periodic
This commit is contained in:
1 parent
2900b1d17f
commit
900655b11f
8 files changed
+18
-17
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user