Browse Source

Merge pull request #3045 from Diapolo/master

misc small spelling/indentation fixes
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
b85560a1b5
  1. 4
      src/bitcoinrpc.cpp
  2. 4
      src/init.cpp

4
src/bitcoinrpc.cpp

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

4
src/init.cpp

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

Loading…
Cancel
Save