Commit aaabf1ba authored by Martti Mela's avatar Martti Mela

bnf.c: convert_ip_address() compiles now without IPv6

darcs-hash:20070124134254-1b897-83a83784199fa789215cbf4e75459e6ca9e2d1bf.gz
parent 367cdcdd
......@@ -825,9 +825,9 @@ static size_t convert_ip_address(char const *s,
{
size_t len;
int canonize = 0;
char buf[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"];
#if SU_HAVE_IN6
char buf[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"];
len = span_ip6_reference(s);
if (len) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment