fixed supid mistake causing crash (on windows only) when sending a distant msg

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-08-07 19:35:27 +00:00
parent e74d91d7a5
commit ff2f436d57

View File

@ -2288,7 +2288,7 @@ void p3MsgService::sendPrivateMsgItem(RsMsgItem *msgitem)
DistantMessengingContact& contact( _messenging_contacts[hash] ) ; DistantMessengingContact& contact( _messenging_contacts[hash] ) ;
if(it == _messenging_contacts.end()) if(it == _messenging_contacts.end())
it->second.status = RS_DISTANT_MSG_STATUS_TUNNEL_DN ; contact.status = RS_DISTANT_MSG_STATUS_TUNNEL_DN ;
contact.pending_messages.push_back(msgitem) ; // record the msg to be sent. contact.pending_messages.push_back(msgitem) ; // record the msg to be sent.
} }