From 3e2c7e59672b282f8e089679ae7f05cfc03e405b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 14 Oct 2018 04:17:54 +0200 Subject: Add peer to listen callback --- include/sibs/BootstrapConnection.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/sibs') diff --git a/include/sibs/BootstrapConnection.hpp b/include/sibs/BootstrapConnection.hpp index e77222d..dd90b7d 100644 --- a/include/sibs/BootstrapConnection.hpp +++ b/include/sibs/BootstrapConnection.hpp @@ -19,7 +19,8 @@ namespace sibs PubsubKeyAlreadyListeningException(const std::string &errMsg) : std::runtime_error(errMsg) {} }; - using BoostrapConnectionListenCallbackFunc = std::function; + // @peer is nullptr is data was sent by local user + using BoostrapConnectionListenCallbackFunc = std::function; class BootstrapConnection { -- cgit v1.2.3