Commit 4ac28a6d authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Do not consider not having the /etc/nsswitch.conf file as an error.

parent 03f21712
......@@ -51,8 +51,7 @@ static struct dns_resolv_conf *resconf(belle_sip_resolver_context_t *ctx) {
path = "/etc/nsswitch.conf";
error = dns_nssconf_loadpath(ctx->resconf, path);
if (error) {
belle_sip_error("%s dns_nssconf_loadpath error [%s]: %s", __FUNCTION__, path, dns_strerror(error));
return NULL;
belle_sip_message("%s dns_nssconf_loadpath error [%s]: %s", __FUNCTION__, path, dns_strerror(error));
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment