aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-10-22 10:14:03 -0400
committerNick Mathewson <nickm@torproject.org>2014-10-22 10:14:03 -0400
commit8e4daa7bb0941037b6b5585059e5570267ee6eb9 (patch)
tree6e25f987b8db6c6f5e43aef8251e49adb34ae7b7 /src/tools
parent71613993e0f9c015d33f1405187a5c5828987ea2 (diff)
parent93dfb1203715bd275d0eed6c8cccf6b6db76fd95 (diff)
downloadtor-8e4daa7bb0941037b6b5585059e5570267ee6eb9.tar.gz
tor-8e4daa7bb0941037b6b5585059e5570267ee6eb9.zip
Merge remote-tracking branch 'public/ticket6938'
Conflicts: src/tools/tor-resolve.c
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tor-checkkey.c2
-rw-r--r--src/tools/tor-gencert.c2
-rw-r--r--src/tools/tor-resolve.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/tor-checkkey.c b/src/tools/tor-checkkey.c
index d50f12ed2a..295da33051 100644
--- a/src/tools/tor-checkkey.c
+++ b/src/tools/tor-checkkey.c
@@ -21,7 +21,7 @@ main(int c, char **v)
int wantdigest=0;
int fname_idx;
char *fname=NULL;
- init_logging();
+ init_logging(1);
if (c < 2) {
fprintf(stderr, "Hi. I'm tor-checkkey. Tell me a filename that "
diff --git a/src/tools/tor-gencert.c b/src/tools/tor-gencert.c
index fae26ef956..0fe6821ff8 100644
--- a/src/tools/tor-gencert.c
+++ b/src/tools/tor-gencert.c
@@ -525,7 +525,7 @@ int
main(int argc, char **argv)
{
int r = 1;
- init_logging();
+ init_logging(1);
/* Don't bother using acceleration. */
if (crypto_global_init(0, NULL, NULL)) {
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c
index 480c7e52ca..74af511acb 100644
--- a/src/tools/tor-resolve.c
+++ b/src/tools/tor-resolve.c
@@ -344,7 +344,7 @@ main(int argc, char **argv)
char *result_hostname = NULL;
log_severity_list_t *s = tor_malloc_zero(sizeof(log_severity_list_t));
- init_logging();
+ init_logging(1);
sandbox_disable_getaddrinfo_cache();
arg = &argv[1];