diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-08-28 20:42:14 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-08-28 20:42:14 +0000 |
commit | dc4951314fd1f830320426b0b975fb20a749cd67 (patch) | |
tree | f3ec88bdacb2efe4b026f128b358bfc2e56d7546 /src/or/dns.c | |
parent | 2499d1db7ce3417e1eed73a3901f6247c6ac6665 (diff) | |
download | tor-dc4951314fd1f830320426b0b975fb20a749cd67.tar.gz tor-dc4951314fd1f830320426b0b975fb20a749cd67.zip |
r8652@Kushana: nickm | 2006-08-28 16:41:44 -0400
Resolve bug 324: strdup the right variable.
svn:r8277
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 2 |
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(); |