summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-06-19 16:56:19 +0000
committerRichard Levitte <levitte@openssl.org>2003-06-19 16:56:19 +0000
commitd3a28e8b8da8ecde549e842249ff12a53390d51c (patch)
tree28ef20a0ff15a5de5cbbc719bcb94d7f033bedb9 /e_os.h
parent0bd71d3b7ebcfe583b91b3939d807d4dd6758f05 (diff)
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 9eb6c1ed5e..3800bfd75f 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