summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 9664ce3baa..cc05b4ca3d 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -1282,7 +1282,7 @@ configure_nameservers(int force)
return -1;
}
tor_free(resolv_conf_fname);
- resolv_conf_fname = tor_strdup(resolv_conf_fname);
+ resolv_conf_fname = tor_strdup(conf_fame);
resolv_conf_mtime = st.st_mtime;
if (nameservers_configured)
eventdns_resume();