From ff2f436d578b9ff1217ec423158194d41d6e4cd7 Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 7 Aug 2013 19:35:27 +0000 Subject: [PATCH] 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 --- libretroshare/src/services/p3msgservice.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/services/p3msgservice.cc b/libretroshare/src/services/p3msgservice.cc index bf6e0be8d..33d522d43 100644 --- a/libretroshare/src/services/p3msgservice.cc +++ b/libretroshare/src/services/p3msgservice.cc @@ -2288,7 +2288,7 @@ void p3MsgService::sendPrivateMsgItem(RsMsgItem *msgitem) DistantMessengingContact& contact( _messenging_contacts[hash] ) ; 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. }