mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
corrected invalid write bug in p3chatservice
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2266 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
100b5fc2ed
commit
5ff5a37bd2
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ int p3ChatService::sendPrivateChat( std::wstring msg, std::string id)
|
|||
|
||||
std::map<std::string,StateStringInfo>::iterator it = _state_strings.find(id) ;
|
||||
|
||||
if(it != _state_strings.end())
|
||||
if(it == _state_strings.end())
|
||||
{
|
||||
_state_strings[id] = StateStringInfo() ;
|
||||
it = _state_strings.find(id) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue