mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 02:55:18 -04:00
Fixed crash and memory leak in parse_literal_data.
Added "break" in RsInit::InitRetroShare. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5225 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bc9fa8ff3e
commit
af19809ef7
2 changed files with 14 additions and 12 deletions
|
@ -671,8 +671,9 @@ int RsInit::InitRetroShare(int argcIgnored, char **argvIgnored, bool strictCheck
|
|||
{
|
||||
std::cerr << " * Preferred * " << std::endl;
|
||||
userId = it->sslId;
|
||||
userName = it->pgpName;
|
||||
userName = it->pgpName;
|
||||
existingUser = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!existingUser)
|
||||
|
@ -2079,7 +2080,7 @@ int RsServer::StartupRetroShare()
|
|||
|
||||
/****** New Ft Server **** !!! */
|
||||
ftserver = new ftServer(mPeerMgr, mLinkMgr);
|
||||
ftserver->setP3Interface(pqih);
|
||||
ftserver->setP3Interface(pqih);
|
||||
ftserver->setConfigDirectory(RsInitConfig::configDir);
|
||||
|
||||
ftserver->SetupFtServer(&(getNotify()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue