diff options
author | Pavel JanÃk <Pavel@Janik.cz> | 2015-01-08 11:44:25 +0100 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2015-01-31 17:38:28 -0500 |
commit | 5262fde0ecd19f1febbfcd488f2be41c5dffd047 (patch) | |
tree | 413401ca7111906838b0f5f5d0c0604bcce52d19 /src/protocol.cpp | |
parent | 3800135ad382a0a980eb20bad8bacbbf206f8cea (diff) |
Remove whitespaces before double colon in errors and logs
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 2dfded43be..74ac706d60 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -66,7 +66,7 @@ bool CMessageHeader::IsValid() const // Message size if (nMessageSize > MAX_SIZE) { - LogPrintf("CMessageHeader::IsValid() : (%s, %u bytes) nMessageSize > MAX_SIZE\n", GetCommand(), nMessageSize); + LogPrintf("CMessageHeader::IsValid(): (%s, %u bytes) nMessageSize > MAX_SIZE\n", GetCommand(), nMessageSize); return false; } @@ -117,7 +117,7 @@ CInv::CInv(const std::string& strType, const uint256& hashIn) } } if (i == ARRAYLEN(ppszTypeName)) - throw std::out_of_range(strprintf("CInv::CInv(string, uint256) : unknown type '%s'", strType)); + throw std::out_of_range(strprintf("CInv::CInv(string, uint256): unknown type '%s'", strType)); hash = hashIn; } @@ -134,7 +134,7 @@ bool CInv::IsKnownType() const const char* CInv::GetCommand() const { if (!IsKnownType()) - throw std::out_of_range(strprintf("CInv::GetCommand() : type=%d unknown type", type)); + throw std::out_of_range(strprintf("CInv::GetCommand(): type=%d unknown type", type)); return ppszTypeName[type]; } |