aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-02-02 11:55:42 +0100
committerWladimir J. van der Laan <[email protected]>2015-02-02 11:56:23 +0100
commita62649731fb1babaedff10b7c0baec4c50c90d60 (patch)
treecca272581d2cb6b9bf39283f3e4ab26da032a4fc /src/protocol.cpp
parentMerge pull request #5707 (diff)
parentChanged pronouns for correctness and inclusivity (diff)
downloaddiscoin-a62649731fb1babaedff10b7c0baec4c50c90d60.tar.xz
discoin-a62649731fb1babaedff10b7c0baec4c50c90d60.zip
Merge pull request #5731
ee93202 Changed pronouns for correctness and inclusivity (bikinibabe) 1fa89a5 fix _code_ snippet in gitian-building.md (UdjinM6) 34c6181 Fix README link from util.sh -> util.py. (Matt Bogosian) faf0af4 Suggest --disable-wallet when libdb_cxx headers are missing (Luke Dashjr) 5a809ef depends: fix typos (Michael Ford) bd2b73b TRIVIAL: fix misleading comment (Vitalii Demianets) 5262fde Remove whitespaces before double colon in errors and logs (Pavel Janík) 3800135 Fix typo (Pavel Janík) 91a9fe0 Fix typo - sentence starts with capital letter (Pavel Janík) bfc29dc Improve gitian build guide (Michael Ford) d6bed15 remove sig_canonical.json and sig_noncanonical.json (Manuel Araoz) 8673160 Remove bootstrap.md (Michael Ford)
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp
index 2dfded43b..74ac706d6 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];
}