mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
proxy server: allow build without push notification support
This commit is contained in:
1 parent
af1e904895
commit
2195c0ed3e
2 files changed
+3
-1
No files matched your search
@@ -350,11 +350,13 @@ DhtProxyServer::saveState(Os& stream) {
|
||||
pk.pack("puts");
|
||||
pk.pack(puts_);
|
||||
}
|
||||
#ifdef OPENDHT_PUSH_NOTIFICATIONS
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(lockListener_);
|
||||
pk.pack("pushListeners");
|
||||
pk.pack(pushListeners_);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
template <typename Is>
|
||||
|
||||
Reference in new issue
Block a user