Merge pull request #1388 from RetroShare/v0.6.5

V0.6.5
This commit is contained in:
csoler 2018-11-02 20:28:31 +01:00 committed by GitHub
commit a65befd513

View File

@ -1266,11 +1266,7 @@ void bdNode::recvPkt(char *msg, int len, struct sockaddr_in addr)
/************************** handle id (all) ***************************/
be_node *be_id = beMsgGetDictNode(be_data, "id");
bdNodeId id;
if (be_id)
{
beMsgGetNodeId(be_id, id);
}
else
if(!be_id || !beMsgGetNodeId(be_id, id))
{
#ifdef DEBUG_NODE_PARSE
std::cerr << "bdNode::recvPkt() Missing Peer Id. Dropping Msg";