Patched to compile on Apache2.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 21 Jan 2013 04:07:39 -0500
changeset 139 59d83397bad9
parent 138 b4ce72a2568a
child 140 69d34fba4a7b
Patched to compile on Apache2.
mod_offload.c
--- a/mod_offload.c	Wed Aug 29 17:19:53 2012 -0400
+++ b/mod_offload.c	Mon Jan 21 04:07:39 2013 -0500
@@ -267,7 +267,7 @@
         snprintf(ipstr, sizeof (ipstr), "%u.%u.%u.%u",
                  x & 0xFF, (x >> 8) & 0xFF, (x >> 16) & 0xFF, (x >> 24) & 0xFF);
         #else
-        apr_sockaddr_ip_getbuf(ipstr, sizeof (ipstr), &r->connection->remote_addr);
+        apr_sockaddr_ip_getbuf(ipstr, sizeof (ipstr), r->connection->remote_addr);
         #endif
         for (i = 0; i < cfg->offload_exclude_addr->nelts; i++)
         {