use EXIT_ codes instead of magic numbers

To be consistent with other exit() calls.
This commit is contained in:
Marko Bencun
2017-02-21 17:16:25 +09:00
parent 7639d38f14
commit a87d02adad
2 changed files with 5 additions and 5 deletions

View File

@@ -156,12 +156,12 @@ CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(const CTransaction &txn, CTxMemPo
void Shutdown(void* parg)
{
exit(0);
exit(EXIT_SUCCESS);
}
void StartShutdown()
{
exit(0);
exit(EXIT_SUCCESS);
}
bool ShutdownRequested()