proj: Adapt test scripts and fix bugs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user