Skip to content

Commit

Permalink
Patched to compile on Apache2.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 21, 2013
1 parent 7a3dc0a commit ee90cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod_offload.c
Expand Up @@ -267,7 +267,7 @@ static int offload_handler(request_rec *r)
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++)
{
Expand Down

0 comments on commit ee90cd6

Please sign in to comment.