mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -04:00
Attempt to fix non sam3 builds
This commit is contained in:
parent
b8e27d6bc0
commit
b659643748
1 changed files with 5 additions and 3 deletions
|
@ -82,7 +82,7 @@ pqiperson * pqisslpersongrp::locked_createPerson(const RsPeerId& id, pqilistener
|
|||
rss->addSerialType(new RsRawSerialiser());
|
||||
pqicSOCKSProxy = new pqiconnect(pqip, rss, pqis);
|
||||
}
|
||||
|
||||
#ifdef RS_USE_I2P_SAM3
|
||||
if (rsAutoProxyMonitor::instance()->isEnabled(autoProxyType::I2PSAM3))
|
||||
{
|
||||
pqissli2psam3 *pqis = new pqissli2psam3((pqissllistener *) listener, pqip, mLinkMgr);
|
||||
|
@ -90,9 +90,11 @@ pqiperson * pqisslpersongrp::locked_createPerson(const RsPeerId& id, pqilistener
|
|||
rss->addSerialType(new RsRawSerialiser());
|
||||
|
||||
pqicI2P = new pqiconnect(pqip, rss, pqis);
|
||||
} else {
|
||||
pqicI2P = pqicSOCKSProxy;
|
||||
}
|
||||
else
|
||||
#endif // def RS_USE_I2P_SAM3
|
||||
pqicI2P = pqicSOCKSProxy;
|
||||
|
||||
|
||||
/* first select type based on peer */
|
||||
uint32_t typePeer = mPeerMgr->getHiddenType(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue