[or-cvs] Efficiency hack: call tor_fix_source_file late, not early. ...
Nick Mathewson
nickm at seul.org
Tue Oct 25 07:05:05 UTC 2005
Update of /home/or/cvsroot/tor/src/tools
In directory moria:/tmp/cvs-serv20694/src/tools
Modified Files:
tor-resolve.c
Log Message:
Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" domain. Domains are now bitmasks... just in case. Make some err msgs non-general.
Index: tor-resolve.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/tools/tor-resolve.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- tor-resolve.c 18 Oct 2005 22:21:29 -0000 1.21
+++ tor-resolve.c 25 Oct 2005 07:05:03 -0000 1.22
@@ -136,7 +136,7 @@
}
if ((len = build_socks4a_resolve_request(&req, "", hostname))<0) {
- err("Error generating SOCKS request");
+ err(LD_BUG,"Error generating SOCKS request");
return -1;
}
@@ -236,7 +236,7 @@
}
if (network_init()<0) {
- err("Error initializing network; exiting.");
+ err(LD_NET,"Error initializing network; exiting.");
return 1;
}
More information about the tor-commits
mailing list