summaryrefslogtreecommitdiff
path: root/src/mod_extforward.c
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2009-04-27 09:28:49 +0000
committerStefan Bühler <stbuehler@web.de>2009-04-27 09:28:49 +0000
commitd0c8721b0d80fdf50c26bd362dbdd687f51d7c1c (patch)
treea531618b9c3b0ecf9d0740a64199f622a52a5a7f /src/mod_extforward.c
parent7f103eab6c3f79d7b0ac6ccc20283cc654037b9d (diff)
downloadlighttpd-git-d0c8721b0d80fdf50c26bd362dbdd687f51d7c1c.tar.gz
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
Diffstat (limited to 'src/mod_extforward.c')
-rw-r--r--src/mod_extforward.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_extforward.c b/src/mod_extforward.c
index acf1ea01..aabee124 100644
--- a/src/mod_extforward.c
+++ b/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