corrected debug state committed by mistake in the previous merge operation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5788 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-11-07 20:13:44 +00:00
parent 6edb9eb4f8
commit 3a72a3032a

View File

@ -66,7 +66,7 @@
//#define DISABLE_BAD_PEER_FILTER 1
#define USE_HISTORY 1
//#define USE_HISTORY 1
#define HISTORY_PERIOD 60
@ -806,10 +806,10 @@ void bdNode::msgout_ping(bdId *id, bdToken *transId)
// THIS IS CRASHING HISTORY.
// LIKELY ID is not always valid!
// Either PotentialPeers or Out-Of-Date Peers.
registerOutgoingMsg(id, transId, BITDHT_MSG_TYPE_PING);
//registerOutgoingMsg(id, transId, BITDHT_MSG_TYPE_PING);
//bdId dupId(*id);
//registerOutgoingMsg(&dupId, transId, BITDHT_MSG_TYPE_PING);
bdId dupId(*id);
registerOutgoingMsg(&dupId, transId, BITDHT_MSG_TYPE_PING);
/* create string */
char msg[10240];