Browse Source

another fix for 2.2/2.4 version handling

master
Georg Hopp 14 years ago
parent
commit
3bc1cd92c8
  1. 3
      mod_entropy.c

3
mod_entropy.c

@ -35,6 +35,7 @@
#include "http_config.h"
#include "http_core.h"
#include "http_log.h"
#include "ap_release.h"
#include "apu.h"
#include "apr_general.h"
#include "apr_sha1.h"
@ -98,7 +99,7 @@ entropy_filter_in(
/**
* add client ip to sha1
*/
#if 4 > HTTP_VERSION_MINOR(number)
#if 4 > AP_SERVER_MINORVERSION_NUMBER
remote_ip = connection->remote_ip;
#else
remote_ip = connection->client_ip;

Loading…
Cancel
Save