Browse Source

Fix unused var in mod_extforward if ipv6 is disabled.

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2487 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.23
Stefan Bühler 13 years ago
parent
commit
d0c8721b0d
  1. 1
      src/mod_extforward.c

1
src/mod_extforward.c

@ -437,6 +437,7 @@ URIHANDLER_FUNC(mod_extforward_uri_handler) {
}
}
#else
UNUSED(addrs_left);
sock.ipv4.sin_addr.s_addr = inet_addr(real_remote_addr);
sock.plain.sa_family = (sock.ipv4.sin_addr.s_addr == 0xFFFFFFFF) ? AF_UNSPEC : AF_INET;
#endif

Loading…
Cancel
Save