summaryrefslogtreecommitdiff
path: root/e_os.h
diff options
context:
space:
mode:
authorlevitte <levitte>2003-06-19 16:56:19 +0000
committerlevitte <levitte>2003-06-19 16:56:19 +0000
commit57f7b31333878de5fc3e17b3e2d0179e342c728d (patch)
tree3fc3d3fda79c198dd51d5b7baceed70dac7af5b5 /e_os.h
parent569637943925d55006ec30405e5b7b4b28216756 (diff)
downloadopenssl-57f7b31333878de5fc3e17b3e2d0179e342c728d.tar.gz
EXIT() should mainly be exit(n), not return(n). OPENSSL_EXIT() will
take care of returning if necessary.
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/e_os.h b/e_os.h
index 9eb6c1ed5..3800bfd75 100644
--- a/e_os.h
+++ b/e_os.h
@@ -250,7 +250,7 @@ extern "C" {
# define EXIT(n) _wsetexit(_WINEXITNOPERSIST)
# define OPENSSL_EXIT(n) do { if (n == 0) EXIT(n); return(n); } while(0)
# else
-# define EXIT(n) return(n)
+# define EXIT(n) exit(n)
# endif
# define LIST_SEPARATOR_CHAR ';'
# ifndef X_OK