Browse Source

Aesthetic changes

pull/97/head
FireMartZ 6 years ago
committed by GitHub
parent
commit
57d97375f0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/init.cpp

4
src/init.cpp

@ -302,7 +302,7 @@ BOOL CtrlHandler( DWORD fdwCtrlType )
case CTRL_LOGOFF_EVENT:
case CTRL_SHUTDOWN_EVENT:
fRequestShutdown = true;
std::cout << _("Stopping node. This may take a while, be patient!") << std::endl;
std::cout << _("Shutting down node. This may take a while, be patient!") << std::endl;
while (!fShutdownCompleted)
{
MilliSleep(100);
@ -811,7 +811,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
// Ignore SIGPIPE, otherwise it will bring the daemon down if the client closes unexpectedly
signal(SIGPIPE, SIG_IGN);
#else
SetConsoleCtrlHandler( (PHANDLER_ROUTINE) CtrlHandler, TRUE );
SetConsoleCtrlHandler((PHANDLER_ROUTINE)CtrlHandler, TRUE);
#endif
// ********************************************************* Step 2: parameter interactions

Loading…
Cancel
Save