aboutsummaryrefslogtreecommitdiff
path: root/src/tools/tor-resolve.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-11-30 08:54:08 +0000
committerRoger Dingledine <arma@torproject.org>2004-11-30 08:54:08 +0000
commit7a8c1ca1e4f6c4cc3a6b0f70fe036986ccd61a39 (patch)
tree757148d08b57ed923c25323691be970bff2b2502 /src/tools/tor-resolve.c
parent19ada3f7facbfc37e777f25753195c19d57fc3d9 (diff)
downloadtor-7a8c1ca1e4f6c4cc3a6b0f70fe036986ccd61a39.tar.gz
tor-7a8c1ca1e4f6c4cc3a6b0f70fe036986ccd61a39.zip
a few minor tweaks
svn:r3041
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])) {