diff options
| author | Marko Bencun <[email protected]> | 2017-02-21 17:16:25 +0900 |
|---|---|---|
| committer | Marko Bencun <[email protected]> | 2017-02-21 17:17:24 +0900 |
| commit | a87d02adad2d566927136694dc0d7b202d72691d (patch) | |
| tree | dace8ddd009d1d9242d638e41adee9def23c38bc /src/test | |
| parent | Merge #9726: netbase: Do not print an error on connection timeouts through proxy (diff) | |
| download | discoin-a87d02adad2d566927136694dc0d7b202d72691d.tar.xz discoin-a87d02adad2d566927136694dc0d7b202d72691d.zip | |
use EXIT_ codes instead of magic numbers
To be consistent with other exit() calls.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/test_bitcoin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 4785415e3..51fc6ae0b 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() |