diff options
author | rcritten <> | 2006-08-03 13:29:05 +0000 |
---|---|---|
committer | rcritten <> | 2006-08-03 13:29:05 +0000 |
commit | f1040b4f11a1c00c84dc2609a1b038b6fa8b9c06 (patch) | |
tree | e850c1070a7ef95717f8d5c2b8a3cba3fa5bfc78 /nss_engine_vars.c | |
parent | 78964301c833be4c91a5a1511a5469f5d54cead3 (diff) | |
download | mod_nss-f1040b4f11a1c00c84dc2609a1b038b6fa8b9c06.tar.gz mod_nss-f1040b4f11a1c00c84dc2609a1b038b6fa8b9c06.tar.xz mod_nss-f1040b4f11a1c00c84dc2609a1b038b6fa8b9c06.zip |
200610
Change the kludge for determining the current version of Apache we're
building against. Claim to be building against 2.0.55 if not told
otherwise. The exact version matters less than knowing which API to
use.
Diffstat (limited to 'nss_engine_vars.c')
-rw-r--r-- | nss_engine_vars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nss_engine_vars.c b/nss_engine_vars.c index a6e2fe8..8002bb1 100644 --- a/nss_engine_vars.c +++ b/nss_engine_vars.c @@ -101,7 +101,7 @@ char *nss_var_lookup(apr_pool_t *p, server_rec *s, conn_rec *c, request_rec *r, else if (strcEQ(var, "REQUEST_METHOD")) result = (char *)(r->method); else if (strcEQ(var, "REQUEST_SCHEME")) -#ifndef AP_SERVER_MAJORVERSION_NUMBER +#if AP_SERVER_MINORVERSION_NUMBER < 2 /* See comment in mod_nss.h */ result = (char *)ap_http_method(r); #else result = (char *)ap_http_scheme(r); |