From a87d02adad2d566927136694dc0d7b202d72691d Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Tue, 21 Feb 2017 17:16:25 +0900 Subject: use EXIT_ codes instead of magic numbers To be consistent with other exit() calls. --- src/test/test_bitcoin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 4785415e3c..51fc6ae0ba 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -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() -- cgit v1.2.3