Tiny cleanups.

This commit is contained in:
JoelKatz
2013-02-09 20:07:53 -08:00
parent b6f9811001
commit f8f56b96e0
2 changed files with 1 additions and 1 deletions

View File

@@ -534,7 +534,6 @@ void LedgerConsensus::mapComplete(const uint256& hash, SHAMap::ref map, bool acq
if (mAcquired.find(hash) != mAcquired.end())
{
mAcquiring.erase(hash);
cLog(lsINFO) << "Already had the TXS";
return; // we already have this map
}

View File

@@ -589,6 +589,7 @@ void server<endpoint>::connection<connection_type>::handle_read_request(
reply.append("\0", 1);
m_version = -1;
assert(m_response.get_status_code() != http::status_code::SWITCHING_PROTOCOLS);
shared_const_buffer buffer(reply);
m_connection.get_socket().async_write(
shared_const_buffer(reply),