static void
check_hostname (void *cls, const struct sockaddr *sa, socklen_t salen)
{
- char buf[INET6_ADDRSTRLEN];
int *ok = cls;
if (salen == 0)
GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill");
ok = 1;
}
- waitpid (pid, NULL, 0);
+ GNUNET_OS_process_wait(pid);
if (ok != 0)
fprintf (stderr, "Missed some resolutions: %u\n", ok);
return ok;