mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -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…
Reference in New Issue
Block a user