From 002b6559beb75bdcd9e0f9dcea8046f29e23b5a0 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Mon, 15 Jun 2015 17:52:15 +0000 Subject: [PATCH] Fixed previous commit. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8468 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/dht/p3bitdht_peers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/dht/p3bitdht_peers.cc b/libretroshare/src/dht/p3bitdht_peers.cc index 5c1094ea5..742361dab 100644 --- a/libretroshare/src/dht/p3bitdht_peers.cc +++ b/libretroshare/src/dht/p3bitdht_peers.cc @@ -434,7 +434,7 @@ DhtPeerDetails *p3BitDht::addInternalPeer_locked(const RsPeerId& pid, uint32_t t if(dpd == NULL) { std::cerr << "(EE) inconsistency error in p3BitDht::addInternalPeer_locked() Cannot find peer that was just added." << std::endl; - return; + return NULL; } }