From 55405854c27417ec33797c9e2b438ce17ac70bf2 Mon Sep 17 00:00:00 2001 From: dec05eba <0xdec05eba@gmail.com> 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') 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