gxschannels better debugging message

This commit is contained in:
Gioacchino Mazzurco 2018-11-02 00:53:32 +01:00
parent f6b22d25da
commit 2ed6904d06
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -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;
}