[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Comment about n_args<1 is correct, since all directory serv...



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv14736/src/or

Modified Files:
	routerparse.c 
Log Message:
Comment about n_args<1 is correct, since all directory servers are running post-007x versions

Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerparse.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- routerparse.c	7 Aug 2004 01:17:38 -0000	1.23
+++ routerparse.c	7 Aug 2004 01:30:23 -0000	1.24
@@ -575,9 +575,8 @@
              tok->args[0]);
       return -1;
     }
-  } else if (tok->n_args > 1) {
-/* XXX008 Nick: shouldn't we check for <1 too? */
-    log_fn(LOG_WARN, "Too many arguments to directory-signature");
+  } else {
+    log_fn(LOG_WARN, "Too many or too few arguments to directory-signature");
     return -1;
   }
   if (strcmp(tok->object_type, "SIGNATURE") || tok->object_size != 128) {