less log msgs

pull/2/head
Tom Early 3 years ago
parent 3efd6f6c07
commit f86518aa53

@ -561,7 +561,11 @@ void CReflector::PutDHTPeers()
node.putSigned( node.putSigned(
refhash, refhash,
nv, nv,
#ifdef DEBUG
[](bool success){ std::cout << "PutDHTPeers() " << (success ? "successful" : "unsuccessful") << std::endl; }, [](bool success){ std::cout << "PutDHTPeers() " << (success ? "successful" : "unsuccessful") << std::endl; },
#else
[](bool success){ if (! success) std::cout << "PutDHTPeers() unsuccessful" << std::endl; },
#endif
true // permanent! true // permanent!
); );
} }
@ -586,7 +590,11 @@ void CReflector::PutDHTClients()
node.putSigned( node.putSigned(
refhash, refhash,
nv, nv,
#ifdef DEBUG
[](bool success){ std::cout << "PutDHTClients() " << (success ? "successful" : "unsuccessful") << std::endl; }, [](bool success){ std::cout << "PutDHTClients() " << (success ? "successful" : "unsuccessful") << std::endl; },
#else
[](bool success){ if (! success) std::cout << "PutDHTClients() unsuccessful" << std::endl; },
#endif
true // permanent! true // permanent!
); );
} }
@ -611,7 +619,11 @@ void CReflector::PutDHTUsers()
node.putSigned( node.putSigned(
refhash, refhash,
nv, nv,
#ifdef DEBUG
[](bool success){ std::cout << "PutDHTUsers() " << (success ? "successful" : "unsuccessful") << std::endl; }, [](bool success){ std::cout << "PutDHTUsers() " << (success ? "successful" : "unsuccessful") << std::endl; },
#else
[](bool success){ if (! success) std::cout << "PutDHTUsers() unsuccessful" << std::endl; },
#endif
true // permanent! true // permanent!
); );
} }
@ -661,7 +673,11 @@ void CReflector::PutDHTConfig()
node.putSigned( node.putSigned(
refhash, refhash,
nv, nv,
#ifdef DEBUG
[](bool success){ std::cout << "PutDHTConfig() " << (success ? "successful" : "unsuccessful") << std::endl; }, [](bool success){ std::cout << "PutDHTConfig() " << (success ? "successful" : "unsuccessful") << std::endl; },
#else
[](bool success){ if(! success) std::cout << "PutDHTConfig() unsuccessful" << std::endl; },
#endif
true true
); );
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.