aboutsummaryrefslogtreecommitdiff
path: root/src/tools/tor-resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/tor-resolve.c')
-rw-r--r--src/tools/tor-resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c
index 79c7a4c3fc..a6e4402ce7 100644
--- a/src/tools/tor-resolve.c
+++ b/src/tools/tor-resolve.c
@@ -178,7 +178,7 @@ main(int argc, char **argv)
arg = &argv[1];
n_args = argc-1;
- if (argc < 2)
+ if (!n_args)
usage();
if (!strcmp("-v", arg[0])) {