[or-cvs] a few minor tweaks

Roger Dingledine arma at seul.org
Tue Nov 30 08:54:10 UTC 2004


Update of /home2/or/cvsroot/tor/src/tools
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/tools

Modified Files:
	tor-resolve.c 
Log Message:
a few minor tweaks


Index: tor-resolve.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/tools/tor-resolve.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- tor-resolve.c	30 Nov 2004 07:06:05 -0000	1.11
+++ tor-resolve.c	30 Nov 2004 08:54:08 -0000	1.12
@@ -178,7 +178,7 @@
   arg = &argv[1];
   n_args = argc-1;
 
-  if (argc < 2)
+  if (!n_args)
     usage();
 
   if (!strcmp("-v", arg[0])) {



More information about the tor-commits mailing list