summaryrefslogtreecommitdiffstats
path: root/server/gen_test_char.c
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2010-09-26 12:04:39 +0200
committerGuenter Knauf <fuankg@apache.org>2010-09-26 12:04:39 +0200
commit17ca53578eda91f6084aeefcb4341ef3039a2b07 (patch)
tree9de9875b55ed29a1832724f691e2cdebd04494a5 /server/gen_test_char.c
parentIn ErrorLogFormat, make it possible to log an item only if the loglevel (diff)
downloadapache2-17ca53578eda91f6084aeefcb4341ef3039a2b07.tar.xz
apache2-17ca53578eda91f6084aeefcb4341ef3039a2b07.zip
Small cleanup and macro rename to make clearer for what it is.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001398 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/gen_test_char.c')
-rw-r--r--server/gen_test_char.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/gen_test_char.c b/server/gen_test_char.c
index ee4a69fb9c..a0b55100f4 100644
--- a/server/gen_test_char.c
+++ b/server/gen_test_char.c
@@ -29,8 +29,8 @@
#include "apr.h"
#include "apr_lib.h"
-#ifdef WIN32
-#define WANT_WIN32
+#if defined(WIN32) || defined(OS2)
+#define NEED_ENHANCED_ESCAPES
#endif
#endif
@@ -80,7 +80,7 @@ int main(int argc, char *argv[])
printf("\n ");
/* escape_shell_cmd */
-#if defined(WANT_WIN32) || defined(OS2)
+#ifdef NEED_ENHANCED_ESCAPES
/* Win32/OS2 have many of the same vulnerable characters
* as Unix sh, plus the carriage return and percent char.
* The proper escaping of these characters varies from unix