summaryrefslogtreecommitdiff
path: root/os/netware
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2002-09-03 22:00:36 +0000
committerBradley Nicholes <bnicholes@apache.org>2002-09-03 22:00:36 +0000
commit0071d5f8eda0a5d8b4c6b5e1e74ed4d7aa298302 (patch)
treee98872de44e84970c29af60eb5613f1cd71943db /os/netware
parent3934829912c11d31870373eb8bbadb1312b2dc98 (diff)
downloadhttpd-0071d5f8eda0a5d8b4c6b5e1e74ed4d7aa298302.tar.gz
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.h2
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 */