[or-cvs] r8277: Resolve bug 324: strdup the right variable. (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Mon Aug 28 20:42:14 UTC 2006


Author: nickm
Date: 2006-08-28 16:42:14 -0400 (Mon, 28 Aug 2006)
New Revision: 8277

Modified:
   tor/trunk/
   tor/trunk/src/or/dns.c
Log:
 r8652 at Kushana:  nickm | 2006-08-28 16:41:44 -0400
 Resolve bug 324: strdup the right variable.



Property changes on: tor/trunk
___________________________________________________________________
Name: svk:merge
   - 17f730b7-d419-0410-b50f-85ee4b70197a:/local/or/tor/trunk:8290
1f724f9b-111a-0410-b636-93f1a77c1813:/local/or/tor/trunk:8207
96637b51-b116-0410-a10e-9941ebb49b64:/tor/branches/spec:7005
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/eventdns:8609
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/mmap:7030
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/oo-connections:6950
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/trans-ap:7315
c95137ef-5f19-0410-b913-86e773d04f59:/tor/trunk:8626
   + 17f730b7-d419-0410-b50f-85ee4b70197a:/local/or/tor/trunk:8290
1f724f9b-111a-0410-b636-93f1a77c1813:/local/or/tor/trunk:8207
96637b51-b116-0410-a10e-9941ebb49b64:/tor/branches/spec:7005
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/eventdns:8609
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/mmap:7030
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/oo-connections:6950
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/trans-ap:7315
c95137ef-5f19-0410-b913-86e773d04f59:/tor/trunk:8652

Modified: tor/trunk/src/or/dns.c
===================================================================
--- tor/trunk/src/or/dns.c	2006-08-28 20:30:49 UTC (rev 8276)
+++ tor/trunk/src/or/dns.c	2006-08-28 20:42:14 UTC (rev 8277)
@@ -1282,7 +1282,7 @@
       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();



More information about the tor-commits mailing list