mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
gxschannels better debugging message
This commit is contained in:
parent
f6b22d25da
commit
2ed6904d06
@ -1171,7 +1171,7 @@ bool p3GxsChannels::shareChannelKeys(
|
|||||||
bool p3GxsChannels::autoDownloadEnabled(const RsGxsGroupId &groupId,bool& enabled)
|
bool p3GxsChannels::autoDownloadEnabled(const RsGxsGroupId &groupId,bool& enabled)
|
||||||
{
|
{
|
||||||
#ifdef GXSCHANNELS_DEBUG
|
#ifdef GXSCHANNELS_DEBUG
|
||||||
std::cerr << "p3GxsChannels::autoDownloadEnabled(" << id << ")";
|
std::cerr << "p3GxsChannels::autoDownloadEnabled(" << groupId << ")";
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1180,8 +1180,8 @@ bool p3GxsChannels::autoDownloadEnabled(const RsGxsGroupId &groupId,bool& enable
|
|||||||
it = mSubscribedGroups.find(groupId);
|
it = mSubscribedGroups.find(groupId);
|
||||||
if (it == mSubscribedGroups.end())
|
if (it == mSubscribedGroups.end())
|
||||||
{
|
{
|
||||||
std::cerr << __PRETTY_FUNCTION__ << " ERROR requested channel is not "
|
std::cerr << __PRETTY_FUNCTION__ << " WARNING requested channel: "
|
||||||
<< "subscribed" << std::endl;
|
<< groupId << " is not subscribed" << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user