From 2ed6904d06caa9529f6ceb420c5c55205ac6d362 Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Fri, 2 Nov 2018 00:53:32 +0100 Subject: [PATCH] gxschannels better debugging message --- libretroshare/src/services/p3gxschannels.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libretroshare/src/services/p3gxschannels.cc b/libretroshare/src/services/p3gxschannels.cc index fb02d50eb..3fc3ddc2b 100644 --- a/libretroshare/src/services/p3gxschannels.cc +++ b/libretroshare/src/services/p3gxschannels.cc @@ -1171,7 +1171,7 @@ bool p3GxsChannels::shareChannelKeys( bool p3GxsChannels::autoDownloadEnabled(const RsGxsGroupId &groupId,bool& enabled) { #ifdef GXSCHANNELS_DEBUG - std::cerr << "p3GxsChannels::autoDownloadEnabled(" << id << ")"; + std::cerr << "p3GxsChannels::autoDownloadEnabled(" << groupId << ")"; std::cerr << std::endl; #endif @@ -1180,8 +1180,8 @@ bool p3GxsChannels::autoDownloadEnabled(const RsGxsGroupId &groupId,bool& enable it = mSubscribedGroups.find(groupId); if (it == mSubscribedGroups.end()) { - std::cerr << __PRETTY_FUNCTION__ << " ERROR requested channel is not " - << "subscribed" << std::endl; + std::cerr << __PRETTY_FUNCTION__ << " WARNING requested channel: " + << groupId << " is not subscribed" << std::endl; return false; }