Code style enforcement

This commit is contained in:
github-actions
2021-05-19 07:55:07 +00:00
parent bbf800c014
commit e321d97490

View File

@@ -374,7 +374,9 @@ int zts_util_ipstr_to_saddr(
in6->sin6_family = family;
// Handle the unspecified address
any = ((strlen(src_ipstr) >= 2) && ! strncmp(src_ipstr, "::", 2))
|| ((strlen(src_ipstr) >= 15) && !strncmp(src_ipstr, "0:0:0:0:0:0:0:0", 15)) ? 1 : 0;
|| ((strlen(src_ipstr) >= 15) && ! strncmp(src_ipstr, "0:0:0:0:0:0:0:0", 15))
? 1
: 0;
if (! any) {
zts_inet_pton(family, src_ipstr, &(in6->sin6_addr));
}