Browse Source

misc small spelling/indentation fixes

0.10
Philip Kaufmann 11 years ago
parent
commit
f65dddc7b2
  1. 4
      src/bitcoinrpc.cpp
  2. 4
      src/init.cpp

4
src/bitcoinrpc.cpp

@ -1007,8 +1007,8 @@ void ServiceConnection(AcceptedConnection *conn) @@ -1007,8 +1007,8 @@ void ServiceConnection(AcceptedConnection *conn)
{
LogPrintf("ThreadRPCServer incorrect password attempt from %s\n", conn->peer_address_to_string().c_str());
/* Deter brute-forcing short passwords.
If this results in a DOS the user really
shouldn't have their RPC port exposed.*/
If this results in a DoS the user really
shouldn't have their RPC port exposed. */
if (mapArgs["-rpcpassword"].size() < 20)
MilliSleep(250);

4
src/init.cpp

@ -339,8 +339,8 @@ bool AppInit2(boost::thread_group& threadGroup) @@ -339,8 +339,8 @@ bool AppInit2(boost::thread_group& threadGroup)
// Minimum supported OS versions: WinXP SP3, WinVista >= SP1, Win Server 2008
// A failure is non-critical and needs no further attention!
#ifndef PROCESS_DEP_ENABLE
// We define this here, because GCCs winbase.h limits this to _WIN32_WINNT >= 0x0601 (Windows 7),
// which is not correct. Can be removed, when GCCs winbase.h is fixed!
// We define this here, because GCCs winbase.h limits this to _WIN32_WINNT >= 0x0601 (Windows 7),
// which is not correct. Can be removed, when GCCs winbase.h is fixed!
#define PROCESS_DEP_ENABLE 0x00000001
#endif
typedef BOOL (WINAPI *PSETPROCDEPPOL)(DWORD);

Loading…
Cancel
Save