fix wrong placement of #endif in condition.c => broken code when HAVE_IPV6 not defined

personal/stbuehler/wip
Thomas Porzelt 14 years ago
parent 2040c059d1
commit 0994052566
  1. 2
      src/condition.c

@ -39,8 +39,8 @@ static gboolean condition_ip_from_socket(condition_rvalue *val, sock_addr *addr)
memcpy(val->ipv6.addr, addr->ipv6.sin6_addr.s6_addr, 16);
val->ipv6.network = 128;
return TRUE;
}
#endif
}
return FALSE;
}

Loading…
Cancel
Save