mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 02:44:20 -05:00
error message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2512 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d3018c4538
commit
63c41801c9
@ -2996,6 +2996,12 @@ std::list<RsItem *> p3ConnectMgr::saveList(bool &cleanup)
|
||||
|
||||
bool p3ConnectMgr::loadList(std::list<RsItem *> load)
|
||||
{
|
||||
|
||||
if (load.size() == 0) {
|
||||
std::cerr << "p3ConnectMgr::loadList() list is empty, it may be a configuration problem." << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef CONN_DEBUG
|
||||
std::cerr << "p3ConnectMgr::loadList() Item Count: " << load.size() << std::endl;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user