summaryrefslogtreecommitdiff
path: root/src/tools/tor-resolve.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-01-03 22:44:32 +0000
committerNick Mathewson <nickm@torproject.org>2008-01-03 22:44:32 +0000
commit0c2234378b85aadf4a263a17209129ab21a5cf5e (patch)
tree543619b49322379f7dae944cfdb35bc028553d35 /src/tools/tor-resolve.c
parent58de695f9062576f74d3713e8dcb66e8b8a48a09 (diff)
downloadtor-0c2234378b85aadf4a263a17209129ab21a5cf5e.tar.gz
tor-0c2234378b85aadf4a263a17209129ab21a5cf5e.zip
r17459@catbus: nickm | 2008-01-03 17:44:25 -0500
add init_logging calls to tor_gencert and tor_resolve svn:r13028
Diffstat (limited to 'src/tools/tor-resolve.c')
-rw-r--r--src/tools/tor-resolve.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c
index d06e218873..23c1bf005e 100644
--- a/src/tools/tor-resolve.c
+++ b/src/tools/tor-resolve.c
@@ -278,6 +278,8 @@ main(int argc, char **argv)
char *result_hostname = NULL;
char buf[INET_NTOA_BUF_LEN];
+ init_logging();
+
arg = &argv[1];
n_args = argc-1;