Commit 3bc1cd92c8ac30f7cb6d51ec923a5830de244a03

Authored by Georg Hopp
1 parent 6107cd44

another fix for 2.2/2.4 version handling

Showing 1 changed file with 2 additions and 1 deletions
... ... @@ -35,6 +35,7 @@
35 35 #include "http_config.h"
36 36 #include "http_core.h"
37 37 #include "http_log.h"
  38 +#include "ap_release.h"
38 39 #include "apu.h"
39 40 #include "apr_general.h"
40 41 #include "apr_sha1.h"
... ... @@ -98,7 +99,7 @@ entropy_filter_in(
98 99 /**
99 100 * add client ip to sha1
100 101 */
101   -#if 4 > HTTP_VERSION_MINOR(number)
  102 +#if 4 > AP_SERVER_MINORVERSION_NUMBER
102 103 remote_ip = connection->remote_ip;
103 104 #else
104 105 remote_ip = connection->client_ip;
... ...
Please register or login to post a comment