diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-25 07:05:03 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-25 07:05:03 +0000 |
commit | 932106f54c35b815756d518b236448b9884d6bde (patch) | |
tree | 1cb7ab000289de706e5813dfe764a2b3644db797 /src/tools | |
parent | 452f4cfa09dffc8f9235c9a9bb1bd3e30aee6aa2 (diff) | |
download | tor-932106f54c35b815756d518b236448b9884d6bde.tar.gz tor-932106f54c35b815756d518b236448b9884d6bde.zip |
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.
svn:r5309
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/tor-resolve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c index 7af279af1e..60daaaff0a 100644 --- a/src/tools/tor-resolve.c +++ b/src/tools/tor-resolve.c @@ -136,7 +136,7 @@ do_resolve(const char *hostname, uint32_t sockshost, uint16_t socksport, } 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 @@ main(int argc, char **argv) } if (network_init()<0) { - err("Error initializing network; exiting."); + err(LD_NET,"Error initializing network; exiting."); return 1; } |