1
0

proj: Adapt test scripts and fix bugs

This commit is contained in:
2025-04-19 11:50:33 +02:00
parent bb78af2235
commit d988d1d28b
6 changed files with 52 additions and 25 deletions

View File

@@ -2225,7 +2225,11 @@ int sym(getaddrinfo)(const char *restrict node, const char *restrict service, co
else if_invalid(getaddrinfo)
}
const int ret = __real_getaddrinfo(node, service, hints, res);
msg("return %i; errno %s", ret, strerrorname_np(errno));
if (res != NULL) {
msg("return %i; errno %s; res=%p", ret, strerrorname_np(errno), *res);
} else {
msg("return %i; errno %s", ret, strerrorname_np(errno), *res);
}
return ret;
}