Trivial: use EXIT_ codes instead of magic numbers #9815

pull benma wants to merge 1 commits into bitcoin:master from benma:exitcode changing 2 files +5 −5
  1. benma commented at 8:38 AM on February 21, 2017: none

    To be consistent with other exit() calls.

  2. use EXIT_ codes instead of magic numbers
    To be consistent with other exit() calls.
    a87d02adad
  3. fanquake added the label Refactoring on Feb 21, 2017
  4. rabidus approved
  5. laanwj commented at 8:49 AM on February 21, 2017: member

    Yeah why not, wonder why these were not caught in similar previous pulls. Anyhow, utACK https://github.com/bitcoin/bitcoin/pull/9815/commits/a87d02adad2d566927136694dc0d7b202d72691d

  6. benma commented at 8:54 AM on February 21, 2017: none

    They were added after the previous PR taking care of those.

  7. laanwj commented at 10:48 AM on February 22, 2017: member

    They were added after the previous PR taking care of those.

    Good point.

  8. laanwj merged this on Feb 22, 2017
  9. laanwj closed this on Feb 22, 2017

  10. laanwj referenced this in commit 92dd6c8dfd on Feb 22, 2017
  11. PastaPastaPasta referenced this in commit 534a981490 on Dec 28, 2018
  12. PastaPastaPasta referenced this in commit 2e22ef9fc5 on Dec 29, 2018
  13. PastaPastaPasta referenced this in commit a0e64dda49 on Dec 29, 2018
  14. PastaPastaPasta referenced this in commit 773f102a05 on Dec 29, 2018
  15. PastaPastaPasta referenced this in commit 5b7b9ca286 on Jan 2, 2019
  16. PastaPastaPasta referenced this in commit aa3b7c98e8 on Jan 3, 2019
  17. PastaPastaPasta referenced this in commit 0ab77fa7a5 on Jan 3, 2019
  18. UdjinM6 referenced this in commit 07dcddb4ca on Jan 7, 2019
  19. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me