misc spelling / space / style fixes

This commit is contained in:
Philip Kaufmann 2013-10-15 12:13:54 +02:00
parent b2ba55c42b
commit 96b9603c01
3 changed files with 4 additions and 4 deletions

View file

@ -154,7 +154,7 @@ use_pkgconfig=yes
case $host in case $host in
*mingw*) *mingw*)
#pkgconfig does more harm than good with mingw #pkgconfig does more harm than good with MinGW
use_pkgconfig=no use_pkgconfig=no
TARGET_OS=windows TARGET_OS=windows
@ -298,7 +298,7 @@ if test x$use_hardening != xno; then
AX_CHECK_COMPILE_FLAG([-fno-stack-protector],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fno-stack-protector"]) AX_CHECK_COMPILE_FLAG([-fno-stack-protector],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fno-stack-protector"])
AX_CHECK_COMPILE_FLAG([-fstack-protector-all],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fstack-protector-all"]) AX_CHECK_COMPILE_FLAG([-fstack-protector-all],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fstack-protector-all"])
# -pie will link successfully with mingw, but it's unsupported and leads to undeterministic binaries # -pie will link successfully with MinGW, but it's unsupported and leads to undeterministic binaries
AX_CHECK_LINK_FLAG([[-pie]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -pie"]) AX_CHECK_LINK_FLAG([[-pie]], [HARDENED_LDFLAGS="$HARDENED_LDFLAGS -pie"])
fi fi

View file

@ -68,7 +68,7 @@ public:
virtual const vector<CAddress>& FixedSeeds() const = 0; virtual const vector<CAddress>& FixedSeeds() const = 0;
int RPCPort() const { return nRPCPort; } int RPCPort() const { return nRPCPort; }
protected: protected:
CChainParams() {}; CChainParams() {}
uint256 hashGenesisBlock; uint256 hashGenesisBlock;
MessageStartChars pchMessageStart; MessageStartChars pchMessageStart;

View file

@ -313,7 +313,7 @@ public:
unsigned int GetTotalRecvSize() unsigned int GetTotalRecvSize()
{ {
unsigned int total = 0; unsigned int total = 0;
BOOST_FOREACH(const CNetMessage &msg, vRecvMsg) BOOST_FOREACH(const CNetMessage &msg, vRecvMsg)
total += msg.vRecv.size() + 24; total += msg.vRecv.size() + 24;
return total; return total;
} }