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:
csoler 2010-02-09 20:20:29 +00:00
parent 100b5fc2ed
commit 5ff5a37bd2

View File

@ -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) ;