misc small spelling/indentation fixes
This commit is contained in:
parent
bb3319f296
commit
f65dddc7b2
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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…
Reference in a new issue