sorry, I hadn't understood. thanks. ------------------------------ Nack, still.
You can't use server->srv_data->dns_domain here because it hasn't been populated yet if dns_discovery_domain wasn't used. So this is going to be NULL and will just print "(null)" on glibc systems or crash on non-glibc systems. Please use the literal string "the machine's DNS domain name" as I said before.