mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Fixed compile on Linux.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
29c090fb44
commit
b3bcfe9d30
4 changed files with 7 additions and 7 deletions
|
@ -202,12 +202,12 @@ bool p3HistoryMgr::loadList(std::list<RsItem*>& load)
|
|||
if (NULL != (rskv = dynamic_cast<RsConfigKeyValueSet*>(*it))) {
|
||||
for (std::list<RsTlvKeyValue>::const_iterator kit = rskv->tlvkvs.pairs.begin(); kit != rskv->tlvkvs.pairs.end(); kit++) {
|
||||
if (kit->key == "PUBLIC_ENABLE") {
|
||||
mPublicEnable = (kit->value == "TRUE") ? TRUE : FALSE;
|
||||
mPublicEnable = (kit->value == "TRUE") ? true : false;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (kit->key == "PRIVATE_ENABLE") {
|
||||
mPrivateEnable = (kit->value == "TRUE") ? TRUE : FALSE;
|
||||
mPrivateEnable = (kit->value == "TRUE") ? true : false;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue