]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Avoid calling the real exit() function when the macro exit() is called outside of
authorBradley Nicholes <bnicholes@apache.org>
Tue, 3 Sep 2002 22:00:36 +0000 (22:00 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Tue, 3 Sep 2002 22:00:36 +0000 (22:00 +0000)
a code block.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96627 13f79535-47bb-0310-9956-ffa450edef68

os/netware/os.h

index b40d9c9833f261a271638420e05fce00818381b3..beec1b6cc4619bdbe7fae8ea31cec59bb1a73ab0 100644 (file)
@@ -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 */