diff options
author | Bradley Nicholes <bnicholes@apache.org> | 2002-09-04 00:00:36 +0200 |
---|---|---|
committer | Bradley Nicholes <bnicholes@apache.org> | 2002-09-04 00:00:36 +0200 |
commit | 0071d5f8eda0a5d8b4c6b5e1e74ed4d7aa298302 (patch) | |
tree | e98872de44e84970c29af60eb5613f1cd71943db /os/netware | |
parent | XSL for brazilian translations (pt-br). (diff) | |
download | apache2-0071d5f8eda0a5d8b4c6b5e1e74ed4d7aa298302.tar.xz apache2-0071d5f8eda0a5d8b4c6b5e1e74ed4d7aa298302.zip |
Avoid calling the real exit() function when the macro exit() is called outside of
a code block.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96627 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os/netware')
-rw-r--r-- | os/netware/os.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/netware/os.h b/os/netware/os.h index b40d9c9833..beec1b6cc4 100644 --- a/os/netware/os.h +++ b/os/netware/os.h @@ -73,6 +73,6 @@ extern int hold_screen_on_exit; /* Indicates whether the screen should be held o #define APACHE_MPM_DIR "server/mpm/netware" /* generated on unix */ #define getpid NXThreadGetId -#define exit(s) if(s||hold_screen_on_exit){pressanykey();apr_terminate();}exit(s); +#define exit(s) {if(s||hold_screen_on_exit){pressanykey();}apr_terminate();exit(s);} #endif /* ! APACHE_OS_H */ |